minetest/mods/farming/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
..
farming_bread.png Safe Compression Commit 2021-02-11 09:01:07 -05:00
farming_cotton.png Farming: Make cotton look like cotton, add crafted string item 2017-08-18 18:48:25 +01:00
farming_cotton_1.png Textures Update 2015-01-25 10:48:42 +01:00
farming_cotton_2.png Textures Update 2015-01-25 10:48:42 +01:00
farming_cotton_3.png Optimize textures and model (use *.b3d instead *.x) 2015-02-28 22:33:19 +01:00
farming_cotton_4.png Optimize textures and model (use *.b3d instead *.x) 2015-02-28 22:33:19 +01:00
farming_cotton_5.png Safe Compression Commit 2021-02-11 09:01:07 -05:00
farming_cotton_6.png Textures Update 2015-01-25 10:48:42 +01:00
farming_cotton_7.png Safe Compression Commit 2021-02-11 09:01:07 -05:00
farming_cotton_8.png Safe Compression Commit 2021-02-11 09:01:07 -05:00
farming_cotton_seed.png Textures Update 2015-01-25 10:48:42 +01:00
farming_cotton_wild.png Safe Compression Commit 2021-02-11 09:01:07 -05:00
farming_desert_sand_soil.png Optimize textures and model (use *.b3d instead *.x) 2015-02-28 22:33:19 +01:00
farming_desert_sand_soil_wet.png Optimize textures and model (use *.b3d instead *.x) 2015-02-28 22:33:19 +01:00
farming_desert_sand_soil_wet_side.png Optimize textures and model (use *.b3d instead *.x) 2015-02-28 22:33:19 +01:00
farming_flour.png Optimize textures and model (use *.b3d instead *.x) 2015-02-28 22:33:19 +01:00
farming_soil.png Safe Compression Commit 2021-02-11 09:01:07 -05:00
farming_soil_wet.png Safe Compression Commit 2021-02-11 09:01:07 -05:00
farming_soil_wet_side.png Optimize textures and model (use *.b3d instead *.x) 2015-02-28 22:33:19 +01:00
farming_straw.png Optimize textures and model (use *.b3d instead *.x) 2015-02-28 22:33:19 +01:00
farming_string.png Farming: Make cotton look like cotton, add crafted string item 2017-08-18 18:48:25 +01:00
farming_tool_bronzehoe.png Optimize textures and model (use *.b3d instead *.x) 2015-02-28 22:33:19 +01:00
farming_tool_diamondhoe.png Optimize textures and model (use *.b3d instead *.x) 2015-02-28 22:33:19 +01:00
farming_tool_mesehoe.png Optimize textures and model (use *.b3d instead *.x) 2015-02-28 22:33:19 +01:00
farming_tool_steelhoe.png Optimize textures and model (use *.b3d instead *.x) 2015-02-28 22:33:19 +01:00
farming_tool_stonehoe.png Optimize textures and model (use *.b3d instead *.x) 2015-02-28 22:33:19 +01:00
farming_tool_woodhoe.png Optimize textures and model (use *.b3d instead *.x) 2015-02-28 22:33:19 +01:00
farming_wheat.png Safe Compression Commit 2021-02-11 09:01:07 -05:00
farming_wheat_1.png Optimize textures and model (use *.b3d instead *.x) 2015-02-28 22:33:19 +01:00
farming_wheat_2.png Optimize textures and model (use *.b3d instead *.x) 2015-02-28 22:33:19 +01:00
farming_wheat_3.png Safe Compression Commit 2021-02-11 09:01:07 -05:00
farming_wheat_4.png Safe Compression Commit 2021-02-11 09:01:07 -05:00
farming_wheat_5.png Safe Compression Commit 2021-02-11 09:01:07 -05:00
farming_wheat_6.png Optimize textures and model (use *.b3d instead *.x) 2015-02-28 22:33:19 +01:00
farming_wheat_7.png Safe Compression Commit 2021-02-11 09:01:07 -05:00
farming_wheat_8.png Optimize textures and model (use *.b3d instead *.x) 2015-02-28 22:33:19 +01:00
farming_wheat_seed.png Textures Update 2015-01-25 10:48:42 +01:00