Compress all pngs.
Reduces size used for png files from 19,034,446 bytes to 13,305,798 bytes in total. The smaller files also improve loading times as the zlib decoder has less bytes to schlep through. The PNG decoder shipped with OpenRA only supports a bit depth of 8 for images with a palette, so must must ensure that other depths (1,2 or 4) are not used. zopfilpng is used for compression with the following command line: 'zopflipng.exe --keepcolortype -y -m image.png image.png' The keepcolortype flag ensures the bit depth is not changed.
This commit is contained in:
committed by
Matthias Mailänder
parent
4f3d8f4caa
commit
78bef8a98f
Binary file not shown.
|
Before Width: | Height: | Size: 3.1 KiB After Width: | Height: | Size: 2.5 KiB |
Reference in New Issue
Block a user