Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Batch Color Saturation
#2
(08-10-2021, 04:55 PM)firefly Wrote: How do I do batch Color Saturation?  I don't see an option in the Batch Manipulation menu and I don't want to use Hue Saturation.

Is this using BIMP the batch plugin ?  If it is you can not use theColor -> Saturation filter directly. It is GEGL and not selectable as a "Other Gimp Operation" in BIMP.

You can 'wrap' the GEGL command in a python script which BIMP recognizes. If you are willing to do a little editing, a basic python plugin is attached.
First find the Saturation value you need from using Gimp on a typical image. That is the Scale value.  Get a decent text editor (not notepad or wordpad)  Usually Notepad++ and replace the value scale=10 in the script at line 52 eg. scale=0 is total desaturation. scale=2.5 is well across the GUI slider.
[code]
- - - - - -
def for_gegl_command(image, drawable):
# put your GEGL command here
# saturation scale minimum value 0  max value 10
    gegl_graph_string="saturation scale=10 colorspace=0"
- - - - - -
[code]

Unzip the attachment. For windows the plugin goes in C:\Users\"yourname"\AppData\Roaming\GIMP\2.10\plug-ins  
The plugin registers in the Tools menu and you can try it out on an image.

In BIMP it is a "Other Gimp Procedure"

I normally use linux but tried out in a Win10 / Gimp 2.10.24 and it works with a few flashing on / off terminals as BIMP calls the plugin.

Not making separate screenshots for this one see:   https://i.imgur.com/Gta0EUX.jpg  Top the images used. Middle - the BIMP function Bottom - BIMP working, between first and second image. Not going to break any speed records but does get there.
EDIT: Thats it for today, bye


Attached Files
.zip   gegl-command.zip (Size: 1.09 KB / Downloads: 176)
Reply


Messages In This Thread
Batch Color Saturation - by firefly - 08-10-2021, 04:55 PM
RE: Batch Color Saturation - by rich2005 - 08-10-2021, 07:54 PM
RE: Batch Color Saturation - by firefly - 08-10-2021, 08:47 PM
RE: Batch Color Saturation - by PixLab - 08-11-2021, 12:06 AM
RE: Batch Color Saturation - by rich2005 - 08-11-2021, 08:40 AM
RE: Batch Color Saturation - by iSamurai - 06-15-2022, 08:09 AM
RE: Batch Color Saturation - by PixLab - 08-11-2021, 12:07 PM
RE: Batch Color Saturation - by rich2005 - 08-11-2021, 12:19 PM
RE: Batch Color Saturation - by firefly - 08-11-2021, 03:54 PM
RE: Batch Color Saturation - by PixLab - 08-11-2021, 12:46 PM
RE: Batch Color Saturation - by rich2005 - 08-11-2021, 04:09 PM
RE: Batch Color Saturation - by firefly - 08-11-2021, 06:56 PM
RE: Batch Color Saturation - by firefly - 08-11-2021, 08:39 PM
RE: Batch Color Saturation - by PixLab - 08-12-2021, 03:04 AM

Forum Jump: