png_color_converter

Crates.iopng_color_converter
lib.rspng_color_converter
version0.1.0
sourcesrc
created_at2024-02-13 03:45:14.796387
updated_at2024-02-13 03:45:14.796387
descriptionUsed 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.
homepage
repositoryhttps://github.com/cwarg/png_color_converter
max_upload_size
id1137732
size19,449
Cade (cwarg)

documentation

README

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.
Commit count: 0

cargo fmt