Page 1 of 1

How to call new Hue-Chroma function from Python?

Posted: Wed Oct 10, 2018 7:56 pm
by moon
GIMP Version: 2.10.6
Operating System: Windows
OS Version: 10
GIMP Experience: Intermediate Level
URL or Image link: https://wiki.gimp.org/wiki/Release:2.10_changelog#Plugins



I like the new Colors -> Hue-Chroma tool in 2.10.6 as mentioned in the Change Log.

Anyone know how to call it from Python? I can't see it in the Python Procedure Browser (Filters -> Python-Fu -> Console -> Browse) and the API documentation is for Gimp 2.8.7.

Cheers.

Re: How to call new Hue-Chroma function from Python?

Posted: Wed Oct 10, 2018 11:41 pm
by dinasset
AFAIK LCH-Chroma is a new layer mode in 2.10.
Cattura.PNG
Cattura.PNG (765.45 KiB) Viewed 2501 times

Re: How to call new Hue-Chroma function from Python?

Posted: Thu Oct 11, 2018 4:09 am
by ofnuts
moon wrote:GIMP Version: 2.10.6
Operating System: Windows
OS Version: 10
GIMP Experience: Intermediate Level
URL or Image link: https://wiki.gimp.org/wiki/Release:2.10_changelog#Plugins



I like the new Colors -> Hue-Chroma tool in 2.10.6 as mentioned in the Change Log.

Anyone know how to call it from Python? I can't see it in the Python Procedure Browser (Filters -> Python-Fu -> Console -> Browse) and the API documentation is for Gimp 2.8.7.

Cheers.


As far as I can tell, there is no API for the new functionality implemented as GEGL tools.

Re: How to call new Hue-Chroma function from Python?

Posted: Thu Oct 11, 2018 6:25 am
by moon
@dinasset: Thanks, but it's the "Color - Hue Chroma" tool I want particularly!

ofnuts wrote:As far as I can tell, there is no API for the new functionality implemented as GEGL tools.


@ofnuts:
I've just been poking through the gimp/pdb source in gimp and have to agree :(

I'm going to read up on README_NEW_PDB_PROC to see if I can add it myself (although my C has not been used this century!).