#png #image #color #texture #saturation #hue #minecraft

bin+lib png_color_converter

Used for converting the hue of a given 16x16 png while retaining saturation and lightness. Useful for converting minecraft textures to another color while retaining the shading / details

1 unstable release

0.1.0 Feb 13, 2024

#5 in #saturation

MIT license

10KB
194 lines

png_color_converter

Translates the colors of a given 16x16 png to a different hue, while retaining the saturation and lightness. Original purpose for this project was to convert Minecraft textures from one color to another while maintaining the shading/detail such as creating a ruby texture from a sapphire texture.

Examples

Sapphire.png was made manually and ruby, emerald, and amethyst were created with this program. These show up quite small, but if you were to open them up in IntelliJ, GIMP, or some other program you can see that the 16x16 texture maintained it's quality.

->
->
->

Installation

  • To be added

Usage

  • To be added

Acknowledgements

  • See resources.txt for articles that I used for different formulas and examples.

Dependencies

~2–2.8MB
~52K SLoC