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: 855 B After Width: | Height: | Size: 472 B |
Before Width: | Height: | Size: 612 B After Width: | Height: | Size: 512 B |
Before Width: | Height: | Size: 432 B After Width: | Height: | Size: 364 B |
Before Width: | Height: | Size: 461 B After Width: | Height: | Size: 343 B |
Before Width: | Height: | Size: 672 B After Width: | Height: | Size: 474 B |
Before Width: | Height: | Size: 245 B After Width: | Height: | Size: 234 B |
Before Width: | Height: | Size: 268 B After Width: | Height: | Size: 227 B |
Before Width: | Height: | Size: 225 B After Width: | Height: | Size: 201 B |
Before Width: | Height: | Size: 328 B After Width: | Height: | Size: 258 B |
Before Width: | Height: | Size: 202 B After Width: | Height: | Size: 162 B |