
Stefan Saftescu - 2006-08-25 17:32:21 -
In reply to message 1 from Mike Johnston
It was something like this:
//header("Content-type: image/png");
imagepng($stereoIMG, "stereo.png");
This saves the file as a png image
If you want the image to be displayed on the page, you "uncomment" the header function and cut ', "stereo.png"'.
header("Content-type: image/png");
imagepng($stereoIMG, "stereo.png"); -> imagepng($stereoIMG);
Or am I wrong?