Jump to content

php image copy quality


jarvis

Recommended Posts

Hi,

 

When I copy an image, my script then has the following to copy the image to it's location:

ImageJPEG($im, "categories/".$gal."/t_".$fn);

To improve the quality, do I simply add a third parameter for the quality level? i.e.

ImageJPEG($im, "categories/".$gal."/t_".$fn, 75);

Either 75 - 100 with 100 being best, is that right?

Link to comment
https://forums.phpfreaks.com/topic/185327-php-image-copy-quality/
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.