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

Extremely optimize png images losslessly using zopflipng #2554

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

PeterDaveHello
Copy link
Contributor

Description

Extremely optimize PNG images losslessly using Google's Zopflipng.

18 PNG images compressed as below, looks like saving about ~10% size in average:

 docs/stirling-pdf.png                                | Bin 50887 -> 45004 bytes
 docs/stirling.png                                    | Bin 8860 -> 8050 bytes
 images/login-dark.png                                | Bin 31740 -> 27493 bytes
 images/login-light.png                               | Bin 30897 -> 26998 bytes
 images/settings-light.png                            | Bin 44896 -> 36838 bytes
 images/stirling-home-dark.png                        | Bin 248109 -> 216213 bytes
 src/main/resources/static/android-chrome-192x192.png | Bin 4161 -> 3875 bytes
 src/main/resources/static/android-chrome-512x512.png | Bin 9419 -> 8590 bytes
 src/main/resources/static/apple-touch-icon.png       | Bin 3937 -> 3654 bytes
 src/main/resources/static/favicon-16x16.png          | Bin 829 -> 580 bytes
 src/main/resources/static/favicon-32x32.png          | Bin 1565 -> 1129 bytes
 src/main/resources/static/favicon.png                | Bin 8860 -> 8050 bytes
 src/main/resources/static/images/signature.png       | Bin 19683 -> 19631 bytes
 src/main/resources/static/mstile-144x144.png         | Bin 3368 -> 3196 bytes
 src/main/resources/static/mstile-150x150.png         | Bin 3312 -> 3095 bytes
 src/main/resources/static/mstile-310x150.png         | Bin 3504 -> 3281 bytes
 src/main/resources/static/mstile-310x310.png         | Bin 5947 -> 5424 bytes
 src/main/resources/static/mstile-70x70.png           | Bin 2733 -> 2536 bytes

Checklist

  • I have read the Contribution Guidelines
  • I have performed a self-review of my own code
  • I have attached images of the change if it is UI based
  • I have commented my code, particularly in hard-to-understand areas
  • If my code has heavily changed functionality I have updated relevant docs on Stirling-PDFs doc repo
  • My changes generate no new warnings
  • I have read the section Add New Translation Tags (for new translation tags only)

@dosubot dosubot bot added the size:XS This PR changes 0-9 lines, ignoring generated files. label Dec 23, 2024
@github-actions github-actions bot added the Front End Issues or pull requests related to front-end development label Dec 23, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Front End Issues or pull requests related to front-end development size:XS This PR changes 0-9 lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant