Spectrum – Image transcoding library for Android or iOS
libspectrum.io
libspectrum.io
If you're interested in compressing JPEGs without quality loss, there's a free Mac app called ImageOptim that can handle JPEG, GIF and PNG. It has Google's Guetlzi, so on some JPEG you can reach 20-40% compression without any loss of quality that I could detect (and sometimes lower levels around 10% on images that are already well compressed or smaller resolution).
Guetzli usually produces very slightly better results than mozjpeg but is several hundred times slower. The 20-40% comparision is vs libjpeg.
In my experience, Guetzli is a lot slowly than mozjpeg, but tops up at much higher space savings when the conditions are right.
It appears that it tries to do that.
I know that the Swift adoption rate at Facebook is low for certain reasons, but I was hoping it would go up, or at least be of concern for open sourced projects.
With that said, I do find it useful to write unit tests in Swift, just to see that the Swift API looks as expected. So that’s one way to add examples.
I do not see what this benefits any developer over just using mozjpeg with better settings.
It smells like a NIH project to me, but then again there might have been some very special requirements that facebook needed that was not already available in other libraries.
Not well.
At Facebook's scale, the choice of whether to resize/crop/compress images on devices or at the backend must be a complete no-brainer. Why would you stand up additional datacenters instead of just burning a little more of your user's (your "product's"?) battery?