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: 371 B After Width: | Height: | Size: 194 B |
Before Width: | Height: | Size: 313 B After Width: | Height: | Size: 156 B |
Before Width: | Height: | Size: 229 B After Width: | Height: | Size: 176 B |
Before Width: | Height: | Size: 497 B After Width: | Height: | Size: 494 B |
Before Width: | Height: | Size: 201 B After Width: | Height: | Size: 130 B |
Before Width: | Height: | Size: 348 B After Width: | Height: | Size: 196 B |