Skip to content

Commit

Permalink
Improve image compression
Browse files Browse the repository at this point in the history
Converted 24-bit images to 8-bit and then ran:

oxipng -o max -Z --preserve -s --fix --alpha -r --zi 255 .

and

zopflipng --lossy_transparent -y --iterations=500 --filters=01234mepb --lossy_8bit input.png input.png

Before: 2,31 MB (2.430.037 bytes)
After:  1,30 MB (1.374.207 bytes)

The SVGs are the same mostly, apart from beautifying them
and using the latest SVGO 3.x build.

Signed-off-by: XhmikosR <[email protected]>
  • Loading branch information
XhmikosR committed Feb 22, 2025
1 parent 1d220bf commit c0e84e5
Show file tree
Hide file tree
Showing 8 changed files with 22 additions and 19 deletions.
Binary file modified img/boxed-bg-dark.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified img/boxed-bg.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified img/favicons/android-chrome-512x512.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified img/favicons/apple-touch-icon.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified img/favicons/favicon-16x16.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified img/favicons/favicon-32x32.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
18 changes: 9 additions & 9 deletions img/favicons/safari-pinned-tab.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
23 changes: 13 additions & 10 deletions img/logo.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit c0e84e5

Please sign in to comment.