Skip to content

Optimize PNG and SVG files#15

Open
KeenRivals wants to merge 3 commits intopotch:masterfrom
KeenRivals:image-optimization
Open

Optimize PNG and SVG files#15
KeenRivals wants to merge 3 commits intopotch:masterfrom
KeenRivals:image-optimization

Conversation

@KeenRivals
Copy link
Copy Markdown

  • Optimized PNG files with optipng -o7 -strip all and advdef -z4 -i50.
  • Optimized SVG image files with svgo.
  • Optimized SVG font file with svgo --disable=removeUselessDefs.
File Size Before (Bytes) Size After (Bytes) % Reduction
./Hax/fonts/fontawesome-webfont.svg 313398 274361 12%
./Hax/img/blueprint.png 1141 1068 6%
./Hax/img/dino-dark.svg 1434 986 31%
./Hax/img/dino-simple.svg 2118 1360 36%
./Hax/img/dino.svg 1860 992 47%
./Hax/img/mdn-logo-mono.svg 2862 1654 42%
./Hax/img/mdn-logo.svg 11890 9272 22%
./Hax/img/mozilla.png 1242 1242 0%
Total 335945 290935 13%

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant