RSS/Atom feed Twitter
Site is read-only, email is disabled

HSL Color Picker

This discussion is connected to the gimp-developer-list.gnome.org mailing list which is provided by the GIMP developers and not related to gimpusers.com.

This is a read-only list on gimpusers.com so this discussion thread is read-only, too.

4 of 4 messages available
Toggle history

Please log in to manage your subscriptions.

HSL Color Picker Michael Horvath 12 Dec 09:06
  HSL Color Picker Alexandre Prokoudine 12 Dec 18:43
   HSL Color Picker Michael Horvath 13 Dec 08:19
    HSL Color Picker Elle Stone 15 Dec 15:34
Michael Horvath
2015-12-12 09:06:48 UTC (over 8 years ago)

HSL Color Picker

There was discussion in 2009 about adding a HSL color picker to GIMP.

http://www.gimpusers.com/forums/gimp-developer/11572-hsl-color-picker

I was wondering if any developments had been made in this direction? To be honest I didn't understand the latter portions of the discussion. But as someone who grew up using Paint Shop Pro I would really like to see it make an appearance!

Mike

Alexandre Prokoudine
2015-12-12 18:43:31 UTC (over 8 years ago)

HSL Color Picker

On Sat, Dec 12, 2015 at 12:06 PM, Michael Horvath wrote:

There was discussion in 2009 about adding a HSL color picker to GIMP.

http://www.gimpusers.com/forums/gimp-developer/11572-hsl-color-picker

I was wondering if any developments had been made in this direction?

No. The good news (which is not news at all) is that color selectors are pluggable, so one can write such a module without becoming full-time GIMP developer.

In fact, three stock color selectors are modules, e.g. CMYK selector:

https://git.gnome.org/browse/gimp/tree/modules/color-selector-cmyk.c

And there is at least one 3rd party color selector for the CIE LCH colorspace:

http://registry.gimp.org/node/16814

So anyone with programming skills can contribute an HSL color selector (I'd first check if babl supports it though).

Alex

Michael Horvath
2015-12-13 08:19:27 UTC (over 8 years ago)

HSL Color Picker

On 12/12/2015 1:43 PM, Alexandre Prokoudine wrote:

On Sat, Dec 12, 2015 at 12:06 PM, Michael Horvath wrote:

There was discussion in 2009 about adding a HSL color picker to GIMP.

http://www.gimpusers.com/forums/gimp-developer/11572-hsl-color-picker

I was wondering if any developments had been made in this direction?

No. The good news (which is not news at all) is that color selectors are pluggable, so one can write such a module without becoming full-time GIMP developer.

In fact, three stock color selectors are modules, e.g. CMYK selector:

https://git.gnome.org/browse/gimp/tree/modules/color-selector-cmyk.c

And there is at least one 3rd party color selector for the CIE LCH colorspace:

http://registry.gimp.org/node/16814

So anyone with programming skills can contribute an HSL color selector (I'd first check if babl supports it though).

Alex

The LCH one looks promising, but it would be more helpful if L C and H were mapped to X Y and Z axes, or a cylinder, in the picker. Can't tell for sure (I haven't tried the picker myself yet), but the screenshot looks like it may be 3D.

Mike

Elle Stone
2015-12-15 15:34:25 UTC (over 8 years ago)

HSL Color Picker

On 12/13/2015 03:19 AM, Michael Horvath wrote:

On 12/12/2015 1:43 PM, Alexandre Prokoudine wrote:

And there is at least one 3rd party color selector for the CIE LCH colorspace:

http://registry.gimp.org/node/16814

So anyone with programming skills can contribute an HSL color selector (I'd first check if babl supports it though).

Alex

The LCH one looks promising, but it would be more helpful if L C and H were mapped to X Y and Z axes, or a cylinder, in the picker. Can't tell for sure (I haven't tried the picker myself yet), but the screenshot looks like it may be 3D.

There is a patch for replacing the HSV color picker sliders with LCH sliders. But the patch has some side-effects on the other panels, and will be nicer to use once the color picker is color-managed. Also, an outline on the color square showing the boundaries of in-gamut vs out-of-gamut colors would be nice (the sliders already show when a color is in or out of gamut):

https://bugzilla.gnome.org/show_bug.cgi?id=749902#c15