Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Optimize images in XMLUI base theme #350

Merged
merged 2 commits into from
Dec 17, 2017

Conversation

alanorth
Copy link
Member

PNG files can be lossily optimized using pngquant with little or no visual loss of quality, and SVG files can be losslessly optimized using svgo. In all cases there are 1–4 kilobytes shaved off the file sizes.

This saves ~1.2KiB per image.
This is a lossy optimization using pnquant but there is no visual
difference in the resulting image. File size is reduced by one or
two kilobytes per image. Command line used:

$ pngquant --verbose --speed 1 --strip

See: https://images.guide/
See: https://ariya.io/2016/07/shrinking-png-images-with-quantization
@alanorth alanorth merged commit afca6f1 into ilri:5_x-prod Dec 17, 2017
@alanorth alanorth deleted the 5_x-image-optimization branch December 17, 2017 07:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant