This LUT app allows you to generate a 64³ PNG Lookup Table (LUT) and apply any PNG LUT to a given image. LUTs are used to map one set of colors to another, enabling various color grading effects for images.
- Generate 64³ LUT: Create a 64x64x64 PNG LUT file, so you can use it for color grading and visual effects.
- Apply LUT to Image: Apply any PNG LUT to an image to transform its colors based on the LUT.
git clone https://github.com/666rayen999/lut.git
cd lut/
cargo b -r
cp target/release/lut .
./lut generate -o lut.png
# it defaults to "lut.png"
./lut generate
./lut apply -l lut.png -i "image.png" -o "output.png"
# -l defaults to "lut.png"
# -o defaults to "output.png"
./lut apply -i "image.png"
Contributions are welcome! If you have ideas for improvements or find a bug, feel free to open an issue or submit a pull request.
This project is licensed under the MIT License.
This project uses the image crate for image processing.