Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Controlling Hue Chroma ?
#1
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 ?
Reply
#2
(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 ?
There is no PDB function that contains chroma in its name. The nearest function is gimp-drawable-hue-saturation.

If you use "Filters/Script-Fu/Console" and click the "Browse..." button you can search for PDB functions by typing part of the name in the "Search:" box - you will then see which functions are associated with the part of the name that you entered and what the function parameters are.
Reply
#3
(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 gegl 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.
Reply


Forum Jump: