minetest/mods/beds/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
..
beds_bed.png Safe Compression Commit 2021-02-11 09:01:07 -05:00
beds_bed_fancy.png Safe Compression Commit 2021-02-11 09:01:07 -05:00
beds_bed_foot.png Safe Compression Commit 2021-02-11 09:01:07 -05:00
beds_bed_head.png Safe Compression Commit 2021-02-11 09:01:07 -05:00
beds_bed_side1.png Safe Compression Commit 2021-02-11 09:01:07 -05:00
beds_bed_side2.png Safe Compression Commit 2021-02-11 09:01:07 -05:00
beds_bed_side_bottom.png Safe Compression Commit 2021-02-11 09:01:07 -05:00
beds_bed_side_bottom_r.png Safe Compression Commit 2021-02-11 09:01:07 -05:00
beds_bed_side_top.png Safe Compression Commit 2021-02-11 09:01:07 -05:00
beds_bed_side_top_r.png Safe Compression Commit 2021-02-11 09:01:07 -05:00
beds_bed_top1.png Safe Compression Commit 2021-02-11 09:01:07 -05:00
beds_bed_top2.png Safe Compression Commit 2021-02-11 09:01:07 -05:00
beds_bed_top_bottom.png Safe Compression Commit 2021-02-11 09:01:07 -05:00
beds_bed_top_top.png Safe Compression Commit 2021-02-11 09:01:07 -05:00
beds_bed_under.png Safe Compression Commit 2021-02-11 09:01:07 -05:00
beds_transparent.png Safe Compression Commit 2021-02-11 09:01:07 -05:00