minetest/mods/tnt/textures
ExeVirus 454bb6dc7f Safe Compression Commit
Only a single program was used to safely compress all textures in MTG.

This was done using optipng with the following settings:

```
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.

The resulting compression:

| type | size (Bytes) | % of original texture size |
| --- | --- | --- |
| Original | 247,571 | 100% |
| Compressed | 152,189 | 61.5% |

**Summary: Saves 93.14 KB**

A script has been added: utils/optimize_textures.sh which will perform this compression automatically, assuming optipng is installed.
2021-02-11 09:01:07 -05:00
..
tnt_blast.png Safe Compression Commit 2021-02-11 09:01:07 -05:00
tnt_boom.png Compress all textures losslessly using optipng and advpng 2014-07-05 16:06:00 +02:00
tnt_bottom.png Compress all textures losslessly using optipng and advpng 2014-07-05 16:06:00 +02:00
tnt_gunpowder_burning_crossing_animated.png Safe Compression Commit 2021-02-11 09:01:07 -05:00
tnt_gunpowder_burning_curved_animated.png Safe Compression Commit 2021-02-11 09:01:07 -05:00
tnt_gunpowder_burning_straight_animated.png Safe Compression Commit 2021-02-11 09:01:07 -05:00
tnt_gunpowder_burning_t_junction_animated.png Safe Compression Commit 2021-02-11 09:01:07 -05:00
tnt_gunpowder_crossing.png Safe Compression Commit 2021-02-11 09:01:07 -05:00
tnt_gunpowder_curved.png Safe Compression Commit 2021-02-11 09:01:07 -05:00
tnt_gunpowder_inventory.png Compress all textures losslessly using optipng and advpng 2014-07-05 16:06:00 +02:00
tnt_gunpowder_straight.png Safe Compression Commit 2021-02-11 09:01:07 -05:00
tnt_gunpowder_t_junction.png Safe Compression Commit 2021-02-11 09:01:07 -05:00
tnt_side.png Compress all textures losslessly using optipng and advpng 2014-07-05 16:06:00 +02:00
tnt_smoke.png Safe Compression Commit 2021-02-11 09:01:07 -05:00
tnt_tnt_stick.png TNT: Raise cost of TNT by adding a TNT stick crafting stage 2018-06-01 23:41:45 +01:00
tnt_top.png Compress all textures losslessly using optipng and advpng 2014-07-05 16:06:00 +02:00
tnt_top_burning.png Compress all textures losslessly using optipng and advpng 2014-07-05 16:06:00 +02:00
tnt_top_burning_animated.png Compress all textures losslessly using optipng and advpng 2014-07-05 16:06:00 +02:00