When I Use:
imagecreatefromjpeg()
and the $path parameter is a URL. I save the jpeg at 100 compression... Yet I still get slight quality loss...
Is there a way to prevent this?
When I Use:
imagecreatefromjpeg()
and the $path parameter is a URL. I save the jpeg at 100 compression... Yet I still get slight quality loss...
Is there a way to prevent this?
There is always a loss in quality when you re-save a jpeg image, you should instead copy the image file.
all jpg images will have artifacts, no matter the compression. if this is a picture with lots of colors and no real sharp edges it shouldnt be a problem, however if its a logo or something where edges are important you should consider using the PNG alternative.