Jump to content

[SOLVED] Very quick question: image header


Distant_storm

Recommended Posts

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

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.