nebuIr / Default-Dark-Mode

🌙 The Dark Mode Resource Pack for Minecraft: Java Edition
https://darkomizer.com
Other
147 stars 21 forks source link

[BUG] PNG optimization results in "washed-out" colors for Minecraft 1.6 - 1.12 #34

Closed nebuIr closed 2 years ago

nebuIr commented 2 years ago

Description

Grayscale reduction is applied for textures with no colors which results in "washed-out" colors. Minecraft 1.6 to 1.12 seem to be affected.

washed-out colors example

Solution

Using the option --ng with oxipng skips the grayscale reduction.

nebuIr commented 2 years ago

Reverted grayscale reduction for already optimized PNGs & added --ng option to GitHub workflow.