6

I have repetitive actions I need to perform on images that are all consistent. For example I have 100 images with size 100 X 100

What I need to do on each one:
1. scale to 75 x 75
2. export as png ( with the same name )
3. close the original without saving

thanks !

8

Gimp doesn't have actions on its own, but there are two very popular plugins or scripts you can use:

Resizing using Bimp (Batch Image Manipulation Plugin)

Source: http://www.alessandrofrancesconi.it/projects/bimp/

Instructions:

  • Open BIMP from the File menu
  • Add all the image files that you want to manipulate
  • Choose Resize from the list of available effects and tools
  • Apply

Resizing using DBP

Source: http://members.ozemail.com.au/~hodsond/dbp.html

Instructions:

  • From the Filters menu in the main Gimp window (or Xtns in earlier versions), select Batch Process... to bring up the DBP window.
  • In the Input page, Add your files and click Open
  • In Processing, select Resize
  • Choose PNG as Output

This question in Superuser has some other options as well.

  • 1
    Upvoted for citing my BIMP project ;) – TheUnexpected Mar 8 '17 at 13:41
  • When you have created such awesome plugin, get used to becoming famous :-) – Anand Rockzz Aug 15 at 23:26
2

There is a fast way to accomplish your goal without creating your own script:

  1. File>Open the first image
  2. File>Open as layers the other images (this is one single action, since the file selector allows the selection of multiple images)
  3. Image>Scale image to 75x75 to scale all layers together
  4. Export all layers to individual files (some scripts available for this, for instance ofn-export-layers)
1

To program repetitive tasks in GIMP, the official way is to use Script-Fu (https://docs.gimp.org/2.10/en/gimp-concepts-script-fu.html) or Python-Fu (https://docs.gimp.org/2.10/en/gimp-filters-python-fu.html)

In version 2.10, these can be found in the Filters menu.

  • While this link may answer the question, it is better to include the essential parts of the answer here and provide the link for reference. Link-only answers can become invalid if the linked page changes. - From Review – Ovaryraptor Jul 31 '18 at 19:40
  • 1
    @Ovaryraptor: While this answer could certainly be improved by adding more detail, it is not a link-only answer: If you remove the link, it is still an answer. – Wrzlprmft Jul 31 '18 at 20:10

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.