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: 708 B After Width: | Height: | Size: 605 B |
Before Width: | Height: | Size: 727 B After Width: | Height: | Size: 578 B |
Before Width: | Height: | Size: 728 B After Width: | Height: | Size: 593 B |
Before Width: | Height: | Size: 1.9 KiB After Width: | Height: | Size: 1.3 KiB |
Before Width: | Height: | Size: 712 B After Width: | Height: | Size: 642 B |