neugi Posted August 14, 2006 Share Posted August 14, 2006 Hi, i'm creating an image (gif) from an imagestring whith this function:$img = imagecreatefromstring($filestring);after some other stuff im doing with the image i want to get back the string (jpeg), but without writing the image to the server. so imagejpeg($img) don't work for me. is there a function that i can use to get only the string of the image $img?gruz Quote Link to comment https://forums.phpfreaks.com/topic/17497-get-string-of-an-images/ Share on other sites More sharing options...
onlyican Posted August 14, 2006 Share Posted August 14, 2006 u need to set the headers to mimetype of a jpeg.The information is on the php.net site, i think under the user comments Quote Link to comment https://forums.phpfreaks.com/topic/17497-get-string-of-an-images/#findComment-74485 Share on other sites More sharing options...
Daniel0 Posted August 14, 2006 Share Posted August 14, 2006 Take a look at this: http://php.net/imagecreatefromstring Quote Link to comment https://forums.phpfreaks.com/topic/17497-get-string-of-an-images/#findComment-74628 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.