Optimize PNGs to reduce installed size

This commit is contained in:
Aurélien COUDERC
2019-02-04 00:08:31 +01:00
parent 1870085467
commit d422b80a32
42 changed files with 37 additions and 14 deletions
+5 -2
View File
@@ -9,6 +9,7 @@ files = \
build: $(files)
clean:
rm -f grub-4x3.png.raw grub-16x9.png.raw
rm -f grub-4x3.png grub-16x9.png
install:
@@ -16,9 +17,11 @@ install:
$(INSTALL_DATA) $(wildcard *.png *.sh) $(DESTDIR)/$(dir)
grub-4x3.png: grub-4x3.svg
rsvg-convert $< -o $@
rsvg-convert $< -o $@.raw
optipng $@.raw -out $@
grub-16x9.png: grub-16x9.svg
rsvg-convert $< -o $@
rsvg-convert $< -o $@.raw
optipng $@.raw -out $@
include ../../Makefile.inc
Binary file not shown.

Before

Width:  |  Height:  |  Size: 5.2 KiB

After

Width:  |  Height:  |  Size: 3.8 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 20 KiB

After

Width:  |  Height:  |  Size: 14 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 3.7 KiB

After

Width:  |  Height:  |  Size: 2.7 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.9 KiB

After

Width:  |  Height:  |  Size: 2.9 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 64 KiB

After

Width:  |  Height:  |  Size: 54 KiB