It is currently Sat Jun 13, 2026 9:14 pm


All times are UTC - 5 hours [ DST ]



Post new topic Reply to topic  [ 2 posts ] 
Author Message
 Post subject: Invoke GEGL to batch process images
PostPosted: Mon Mar 18, 2019 1:34 pm  (#1) 
Offline
GimpChat Member

Joined: Feb 25, 2019
Posts: 5
Hello everyone!

I'm fairly new to GIMP and Python scriptinging general. I'm trying to make a script that does the following:

-Loads an image in a source folder
-Applies the Mono-Mixer with fixed parameters (All maxed out)
-Saves the modified version on separate folder with a name modifier ("_result", for example)
-Closes the image
-Loops for the next image in source folder until it cicled through all of them

Problem is: I can't find the command for the Mono-mixer since it's not a native GIMP procedure. Is there a way to write this so that it can batch apply the mono-mixer?


Thanks for the help!

Here are my specs:

OS: Windows 7 64-bits
GIMP version: 2.10.6
Relevant Plugins: BIMP


Share on Facebook Share on Twitter Share on Orkut Share on Digg Share on MySpace Share on Delicious Share on Technorati
Top
 Post subject: Re: Invoke GEGL to batch process images
PostPosted: Mon Mar 18, 2019 4:22 pm  (#2) 
Offline
Script Coder
User avatar

Joined: Oct 25, 2010
Posts: 4812
AFAIK there is no API for the GEGL things. I even assume that the script-fu/python-fu API in 2.10 still uses the old non-GEGL code.

For simple things like this you can use ImageMagick's convert utility in a shell script. The mono mixer all maxed out is nothing more than a desaturation followed by a boost of the lights.

_________________
Image


Top
Post new topic Reply to topic  [ 2 posts ] 

All times are UTC - 5 hours [ DST ]



* Login  



Powered by phpBB3 © phpBB Group