Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I would like to execute some actions in Gimp and then apply this actions again to a new version of the file.

Is it possible ?

Edit: I would like to crop (and center the rest), resize. Maybe change background too.

share|improve this question
This page could be helpful. – terdon Dec 6 '12 at 15:48
What kind of actions are you talking about? Simple resizing or color swap, or is it drawing shapes and things like that?Please give an example. – terdon Dec 6 '12 at 16:10
see edit, thanks :) – charles Dec 6 '12 at 16:41

There are two things you could try. The first is GIMP scripting or GIMP BATCH. These are ways of running GIMP in BATCH mode and scripting actions to be performed on a set of images.

The second way, which is much easier and, in your case, probably sufficient is the wonderful ImageMagick suite. You can probably do everything you want using the convert tool of that suite. The following are some relevant options, you can see the whole list using man convert or by visiting this page.

      convert - convert between image formats as well as resize an image, blur, 
      crop, despeckle, dither, draw on, flip, join, re-sample, and much more.

       convert [input-option] input-file [output-option] output-file

-background color    background color
-crop geometry       cut out a rectangular region of the image
-trim                trim image edges
-size geometry       width and height of image
share|improve this answer

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .