How can I resize an image that I collect from db?
I try to use ImageCreateFromJPEG, but the data are not in the right format, and I don't know how to get it in the right format... when I get the image from db it is in binary format.
I get this error message:
Warning: imagecreatefromjpeg: Unable to open 'GIF89a ' for reading in /usr2/web/utvikling/redesign/legg_inn/bildebehandling.php on line 119