Skip to content
This repository

Enhancement request: PNG images could be optimised losslessly #2650

Closed
chrisben opened this Issue October 09, 2011 · 11 comments

4 participants

chrisben Todd Parker Eddie Monge Ghislain Seguin
chrisben

Using Trimage http://trimage.org/ I get between 6 and 27% compression for the PNG images of jquery mobile. This GUI is actually using optipng or pngcrush optimisations without any quality loss.

In 1.0rc1 it managed to bring down the total size of images from 11.9kB to 10.7kB. It's not that much, but every little helps :)

Could you perhaps add a command line optipng/pngcrush step into your release packaging process?

Todd Parker

This is a good idea. I'll have to look into adding this...

Eddie Monge

I believe this can be closed now. @chrisben Do you agree?

Todd Parker

Of course, I just updated the black sprites so this would need to be re-done.

chrisben

I tested the images found in 1.0rc3 .zip, black images could be even more optimised.

Using Trimage:
icons-18-black : -9.5% 2 kB -> 1kB
icons-36-black : -12% 4 kB -> 3kB

Though loader + white images are now at their minimal size.

Could you check what can be done for the black images before we close this issue?

chrisben

Yes, in the end the -black.png images should have the same size as the -white.png images.

chrisben

Problem described in my last comments is still there in 1.0 final

Todd Parker

I just think we ran out of time on this one. If you submit a pull, we can get this in for 1.0.1

Todd Parker

@gseguin - do you add this to both master and the 1.0.1 branch?

Todd Parker toddparker closed this November 21, 2011
Ghislain Seguin
Collaborator

@toddparker

This landed only on master, let me know if you want me to cherry-pick it to 1.0-stable as well.

Todd Parker

Yeah, I think we should.

Ghislain Seguin
Collaborator

It's in: de9d20e

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.