It is currently Mon Jul 08, 2024 1:32 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: 4756
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 ]


   Similar Topics   Replies 
No new posts G'MIC 3.0: A 3rd dose to process your images! (2 Years of G'MIC Dev.)

8

No new posts Attachment(s) converting 32 bit images to 8 bit using batch script

5

No new posts Attachment(s) Batch export all opened images script for GIMP [Update]

13

No new posts Attachment(s) GEGL needs filters that show images, here's why.

0

No new posts Attachment(s) GEGL "Glass over Text' is STAND ALONE BUT NOW PART OF GEGL EFFECTS

5



* Login  



Powered by phpBB3 © phpBB Group