I have a MySQL database with a large number of images stored in it. I know how to retrieve these images and display them one at a time.
What I would like to do is write a script which collects the images, then saves the images to a directory on my server.
The problem I have encountered is that the data from the database all appears to be in JPEG binary format, so I can't figure out what to do, to be able to modify the images with GD, or even to save them using PHP code.
Do I need to convert these images first, or something else?
Any help would be appreciated!