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: 1.2 KiB After Width: | Height: | Size: 1.0 KiB |
Before Width: | Height: | Size: 459 B After Width: | Height: | Size: 363 B |
Before Width: | Height: | Size: 486 B After Width: | Height: | Size: 388 B |
Before Width: | Height: | Size: 522 B After Width: | Height: | Size: 401 B |
Before Width: | Height: | Size: 612 B After Width: | Height: | Size: 301 B |
Before Width: | Height: | Size: 456 B After Width: | Height: | Size: 435 B |
Before Width: | Height: | Size: 676 B After Width: | Height: | Size: 423 B |
Before Width: | Height: | Size: 580 B After Width: | Height: | Size: 287 B |
Before Width: | Height: | Size: 436 B After Width: | Height: | Size: 415 B |
Before Width: | Height: | Size: 614 B After Width: | Height: | Size: 407 B |
Before Width: | Height: | Size: 602 B After Width: | Height: | Size: 304 B |
Before Width: | Height: | Size: 494 B After Width: | Height: | Size: 473 B |
Before Width: | Height: | Size: 661 B After Width: | Height: | Size: 457 B |
Before Width: | Height: | Size: 707 B After Width: | Height: | Size: 451 B |
Before Width: | Height: | Size: 434 B After Width: | Height: | Size: 413 B |
Before Width: | Height: | Size: 697 B After Width: | Height: | Size: 446 B |