Distant_storm Posted December 5, 2007 Share Posted December 5, 2007 If i am adding a watermark and saving the output imagejpeg($image); imagedestroy($image); imagedestroy($watermark); and i am using ImageJpeg($captchaimage,"image.gif"); to save the image ? Do i still need to use header('content-type: image/jpeg'); as im not planning on displaying the image just saving it ? Link to comment https://forums.phpfreaks.com/topic/80289-solved-very-quick-question-image-header/ Share on other sites More sharing options...
trq Posted December 5, 2007 Share Posted December 5, 2007 Do i still need to use header('content-type: image/jpeg'); as im not planning on displaying the image just saving it ? No. Link to comment https://forums.phpfreaks.com/topic/80289-solved-very-quick-question-image-header/#findComment-406930 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.