Skip to content

Draft: libgimpcolor, operations, plug-ins: Remove GimpHSL

Alx Sa requested to merge alxsa-replace-gimphsl into master

This patch replaces all direct uses of GimpHSL and removes it from the API as part of the color space invasion. Currently, there are three areas where we used GimpHSL objects:

  • Van Gogh plug-in: Replaced the GimpRGB -> GimpHSL conversion by retrieving the HSL values from gegl_buffer_sample () directly with babl_format ("HSL float").

  • Hue/Saturation operation: Replaced GimpHSL with a float array since no conversions were being performed.

  • Color Balance operation: Replaced GimpRGB -> GimpHSL conversions with gegl_color_get/set () functions.

Merge request reports