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.
|
Before Width: | Height: | Size: 222 KiB After Width: | Height: | Size: 169 KiB |
|
Before Width: | Height: | Size: 139 KiB After Width: | Height: | Size: 101 KiB |
|
Before Width: | Height: | Size: 49 KiB After Width: | Height: | Size: 34 KiB |
|
Before Width: | Height: | Size: 84 KiB After Width: | Height: | Size: 53 KiB |
|
Before Width: | Height: | Size: 27 KiB After Width: | Height: | Size: 20 KiB |
|
Before Width: | Height: | Size: 94 KiB After Width: | Height: | Size: 69 KiB |
|
Before Width: | Height: | Size: 214 KiB After Width: | Height: | Size: 152 KiB |
|
Before Width: | Height: | Size: 27 KiB After Width: | Height: | Size: 20 KiB |