nielse63 / php-image-cache

Image Cache is a very simple PHP class that accepts an image source and will compress and cache the file, move it to a new directory, and returns the new source for the image.
http://nielse63.github.io/php-image-cache
Other
456 stars 104 forks source link

Check if the new image is larger than the old image ? #12

Closed bhargavy closed 9 years ago

bhargavy commented 10 years ago

Hi,

I noticed that some times the size of the image actually increases. For ex an image 170 KB increase to 204 KB.

This happens rarely but it would be good if there was an inbuilt way to check if any image compression took place.

nielse63 commented 10 years ago

Great feedback, thanks. I'll be working on the class today and will implement it right away.

nielse63 commented 9 years ago

This has been resolved in version 1.0.0