minetest/mods/stairs
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
..
locale Update translation templates 2021-02-06 15:07:07 +01:00
textures Safe Compression Commit 2021-02-11 09:01:07 -05:00
init.lua Update game APIs for use_texture_alpha deprecation 2021-02-07 11:48:05 +01:00
license.txt Stairs: Set world-aligned textures for all stairs and slabs 2017-11-04 23:43:30 +00:00
mod.conf Switch to mod.conf, delete deprecated depends.txt 2019-07-17 00:38:23 +02:00
README.txt New glass, glass stair/slab, and glass door textures 2018-11-02 17:22:54 +00:00

Minetest Game mod: stairs
=========================
See license.txt for license information.

Authors of source code
----------------------
Originally by Kahrl <kahrl@gmx.net> (LGPLv2.1+) and
celeron55, Perttu Ahola <celeron55@gmail.com> (LGPLv2.1+)
Various Minetest developers and contributors (LGPLv2.1+)

Authors of media (textures)
---------------------------

Textures
--------
Copyright (c) 2018 Shara RedCat (CC BY-SA 3.0):
  Derived from a texture by PilzAdam (CC BY-SA 3.0):
    stairs_obsidian_glass_outer_stairside.png
    stairs_obsidian_glass_stairside.png

Copyright (c) 2018 TumeniNodes (CC BY-SA 3.0):
  Derived from a texture by celeron55 (CC BY-SA 3.0) and
      converted to bright white by Krock (CC BY-SA 3.0):
    stairs_glass_stairside.png
    stairs_glass_split.png
  Derived from a texture by PilzAdam (CC BY-SA 3.0):
    stairs_obsidian_glass_split.png