It is currently Sat Aug 15, 2026 2:00 am


All times are UTC - 5 hours [ DST ]



Post new topic Reply to topic  [ 3 posts ] 
Author Message
 Post subject: Record or preview procedures
PostPosted: Fri Mar 08, 2013 7:30 pm  (#1) 
Offline
New Member

Joined: Mar 08, 2013
Posts: 1
Hello,

I am a new gimp user. I would like to do some batch job of image manipulation.
I now it is possible through scripting and command line execution. For example I have two images and want to do following steps:
1. Open 1st image
2. Open 2nd image and add as a layer to the 1st image
3. Resize 2nd and move to (x,y) position
4. Save result as 3rd image.

Then in the script should be included proper procedures (e.g. gimp-file-load,gimp-image-get-active-layer). How I now which procedures should I use and what is going 'under the hood' of gimp.

Is there a possibility to preview, look up what procedures gimp uses when I edit picture manually?
This is something like GimpScripter or --verbose mode but for procedures.


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: Record or preview procedures
PostPosted: Fri Mar 08, 2013 9:15 pm  (#2) 
Offline
GimpChat Member
User avatar

Joined: Nov 16, 2011
Posts: 5127
Location: Metro Vancouver, BC
Checkout, BIMP: Batch Image Manipulation Plugin and review The Procedure Browser for some ideas.
Help → Procedure Browser

_________________
Image
Gimp 2.8.18, Linux, median user
Gimp Chat Tutorials Index
Spirit Bear (Kermode)


Top
 Post subject: Re: Record or preview procedures
PostPosted: Sat Mar 09, 2013 4:53 am  (#3) 
Offline
Script Coder
User avatar

Joined: Oct 25, 2010
Posts: 4812
PeterPan wrote:
Hello,

I am a new gimp user. I would like to do some batch job of image manipulation.
I now it is possible through scripting and command line execution. For example I have two images and want to do following steps:
1. Open 1st image
2. Open 2nd image and add as a layer to the 1st image
3. Resize 2nd and move to (x,y) position
4. Save result as 3rd image.

Then in the script should be included proper procedures (e.g. gimp-file-load,gimp-image-get-active-layer). How I now which procedures should I use and what is going 'under the hood' of gimp.

Is there a possibility to preview, look up what procedures gimp uses when I edit picture manually?
This is something like GimpScripter or --verbose mode but for procedures.


In the python-fu or script-fu console, you can hit the "browse" button do have access to a list of all functions.

This said, ImageMagick's "composite" utility may be a much better tool for this.

_________________
Image


Top
Post new topic Reply to topic  [ 3 posts ] 

All times are UTC - 5 hours [ DST ]



* Login  



Powered by phpBB3 © phpBB Group