gimp-drawable-levels

Spencer Kimball & Peter Mattis

Description

Modifies intensity levels in the specified drawable.

Help

This tool allows intensity levels in the specified drawable to be remapped according to a set of parameters. The low/high input levels specify an initial mapping from the source intensities. The gamma value determines how intensities between the low and high input intensities are interpolated. A gamma value of 1.0 results in a linear interpolation. Higher gamma values result in more high-level intensities. Lower gamma values result in more low-level intensities. The low/high output levels constrain the final intensity mapping--that is, no final intensity will be lower than the low output level and no final intensity will be higher than the high output level. This tool is only valid on RGB color and grayscale images.


Type

unknown

Parameters

Type Name Description
PF_DRAWABLE drawable The drawable
PF_INT channel The channel to modify { HISTOGRAM-VALUE (0), HISTOGRAM-RED (1), HISTOGRAM-GREEN (2), HISTOGRAM-BLUE (3), HISTOGRAM-ALPHA (4), HISTOGRAM-RGB (5) }
PF_FLOAT low-input Intensity of lowest input (0 <= low-input <= 1)
PF_FLOAT high-input Intensity of highest input (0 <= high-input <= 1)
PF_FLOAT gamma Gamma correction factor (0.1 <= gamma <= 10)
PF_FLOAT low-output Intensity of lowest output (0 <= low-output <= 1)
PF_FLOAT high-output Intensity of highest output (0 <= high-output <= 1)

Return

None