You are here

HSL

Calculate Saturation

This plugin calculates the saturation from a picture with four different saturation algorithms:
1. (max-min)
2. (max-min) / sum
3. like HSV: (max-min) / max
4. like HSL: (max-min) / (max+min)

Build and install it with:
$ gimptool-2.0 --install elsamuko-saturation.c

You'll find it then under Colors->Components->Calc Saturation.

Example:
Saturation

Indexed HSL

This script works just like the HSL adjustment Tool, but on indexed images. (I am using the same calculation Gimp uses.)

While it is relatively simple to convert in indexed image to RGB, use the HSL Tool, then convert back to an indexed image, the drawback is that the image colour index locations aren't preserved, and you need to know how many colours are in the original colormap.

This script provides the same HSL parameters and modifies the individual entries in the colourmap palette without changing the order.

Subscribe to RSS - HSL