Gimp.Drawable.shadows_highlights

@accepts(Gimp.Drawable, float, float, float, float, float, float, float)
@returns(bool)
def shadows_highlights(self, shadows, highlights, whitepoint, radius, compress, shadows_ccorrect, highlights_ccorrect):
    # Python wrapper for gimp_drawable_shadows_highlights()
  

Perform shadows and highlights correction.

This filter allows adjusting shadows and highlights in the image separately. The implementation closely follow its counterpart in the Darktable photography software.

Since 2.10.34

self

The drawable.

shadows

Adjust exposure of shadows.

highlights

Adjust exposure of highlights.

whitepoint

Shift white point.

radius

Spatial extent.

compress

Compress the effect on shadows/highlights and preserve midtones.

shadows_ccorrect

Adjust saturation of shadows.

highlights_ccorrect

Adjust saturation of highlights.

Returns