(11-14-2024, 07:45 AM)Alpha504 Wrote: Hi,
I would like to modify the hue-chroma of some images.
I tried the following function:
Code:
(gimp-drawable-hue-chroma drawable MODE-REPLACE -60 20 0 100.0)
But it gives me an error:
Code:
Error: eval: unbound variable: gimp-drawable-hue-chroma
If someone knows which command to use and what are the parameters ?
As the icon indicates, these filters are GEGL filters, and there is no easy way to call them in Gimp2.10 (some people did it, but it's not a pretty sight).
Things are somewhat easier (but not outright easy yet) in Gimp3+Python3. See this for instance.
Note that for such simple transforms, utilities such as ImageMagick or Python image libraries such as Pillow probably have the functionality.