My problem is rather straight-forward:
- Retrieve an image from a MySQL database (currently stored as binary data in a blob column)
- Rotate that image 90 degrees (using PHP's imagerotate)
- Store the image back in the database with that rotation changes applied.
I'm having trouble finding functions that will let me save the image as a datastream (not to the file system) since these images are not allowed to touch the web server (hence, why they are in the db). Any advice is welcome.
Thanks