class.upload.php is a powerful and mature PHP class to manage uploaded files, and manipulate images in many ways. The script is available under a GPL license.
You can store the processed image in your database, if you call Process() without an argument. For instance, to output the image content directly to the browser, you would do:
But you can instantiate the class only with a file (local or uploaded). So you would have to dump your BLOB field in a file before using the class on it.Reply
But you can instantiate the class only with a file (local or uploaded). So you would have to dump your BLOB field in a file before using the class on it.