Image Compression Discussion
#1
I have run some of my sites through speed/efficiency reviews before and even though I'm compressing everything besides user avatars, I still get flagged for some images as saying that they could be compressed more.

In terms of compressing images using PHP, what is the best compression ratio for, lets say, PNG images? JPEG? Is there a resource that I can use to set up some defaults for compression that are recommended?

Use case basically comes down to Picture Perfect (rehosting images, would like to add the option to control compression, first need to have a clue about what is recommended) and my forum's local image upload feature (need to find a hard value that works best for most PNG/JPEG/etc)

Any help is appreciated. Anything related to images, formats, or compression is welcome.
Reply
#2
Here is something you might be interested to see
https://github.com/tommm/flpavatar/pull/12/files
[Image: logo.svg.svg]
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)