Safe texture compression (#2808)
Only a single program was used to safely compress all textures in MTG. * `optipng -o7 -zm1-9 -nc -strip all -clobber %%f` The key command used is -nc, which stops color mode changes. I.e. any RGBA textures will remain RGBA textures, with none being changes to 8-bit indexed mode. utils/optimize_textures.sh performs this compression automatically, assuming optipng is installed.
Before Width: | Height: | Size: 393 B After Width: | Height: | Size: 388 B |
Before Width: | Height: | Size: 159 B After Width: | Height: | Size: 158 B |
Before Width: | Height: | Size: 170 B After Width: | Height: | Size: 163 B |
Before Width: | Height: | Size: 196 B After Width: | Height: | Size: 192 B |
Before Width: | Height: | Size: 228 B After Width: | Height: | Size: 223 B |
Before Width: | Height: | Size: 706 B After Width: | Height: | Size: 703 B |
Before Width: | Height: | Size: 677 B After Width: | Height: | Size: 676 B |
Before Width: | Height: | Size: 241 B After Width: | Height: | Size: 240 B |
Before Width: | Height: | Size: 172 B After Width: | Height: | Size: 171 B |
Before Width: | Height: | Size: 191 B After Width: | Height: | Size: 188 B |
Before Width: | Height: | Size: 218 B After Width: | Height: | Size: 217 B |
Before Width: | Height: | Size: 253 B After Width: | Height: | Size: 252 B |