Method

GimpDrawableshadows_highlights

Declaration [src]

gboolean
gimp_drawable_shadows_highlights (
  GimpDrawable* drawable,
  gdouble shadows,
  gdouble highlights,
  gdouble whitepoint,
  gdouble radius,
  gdouble compress,
  gdouble shadows_ccorrect,
  gdouble highlights_ccorrect
)

Description [src]

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.

Available since:2.10.34

Parameters

shadows gdouble
 

Adjust exposure of shadows.

highlights gdouble
 

Adjust exposure of highlights.

whitepoint gdouble
 

Shift white point.

radius gdouble
 

Spatial extent.

compress gdouble
 

Compress the effect on shadows/highlights and preserve midtones.

shadows_ccorrect gdouble
 

Adjust saturation of shadows.

highlights_ccorrect gdouble
 

Adjust saturation of highlights.

Return value

Returns: gboolean
 

TRUE on success.