mirror of
https://github.com/luanti-org/minetest_game.git
synced 2025-05-22 23:27:46 -04:00
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. |
||
---|---|---|
.. | ||
farming_bread.png | ||
farming_cotton.png | ||
farming_cotton_1.png | ||
farming_cotton_2.png | ||
farming_cotton_3.png | ||
farming_cotton_4.png | ||
farming_cotton_5.png | ||
farming_cotton_6.png | ||
farming_cotton_7.png | ||
farming_cotton_8.png | ||
farming_cotton_seed.png | ||
farming_cotton_wild.png | ||
farming_desert_sand_soil.png | ||
farming_desert_sand_soil_wet.png | ||
farming_desert_sand_soil_wet_side.png | ||
farming_flour.png | ||
farming_soil.png | ||
farming_soil_wet.png | ||
farming_soil_wet_side.png | ||
farming_straw.png | ||
farming_string.png | ||
farming_tool_bronzehoe.png | ||
farming_tool_diamondhoe.png | ||
farming_tool_mesehoe.png | ||
farming_tool_steelhoe.png | ||
farming_tool_stonehoe.png | ||
farming_tool_woodhoe.png | ||
farming_wheat.png | ||
farming_wheat_1.png | ||
farming_wheat_2.png | ||
farming_wheat_3.png | ||
farming_wheat_4.png | ||
farming_wheat_5.png | ||
farming_wheat_6.png | ||
farming_wheat_7.png | ||
farming_wheat_8.png | ||
farming_wheat_seed.png |