GIMP Scripts

Usually, when I’m using GIMP to edit pictures, there are a couple of simple enahcnements I routinely apply to each image. So, I’m slowly learning GIMP scripting and creating some simple GIMP scripts to help automate some steps in my digital darkroom workflow.

Here are two scripts that I’ve come up with so far, that automate some tasks that I do routinely. They are works in progress, but seem useful enough now to share here:

 

A batch script for Auto White Balance / Contrast Stretch / HSV Stretch

  • Use on an entire directory of images
  • Output image is named “G_<original filename>”
  • To run:
  • gimp -i -b ‘(batch-auto-levels “*.JPG”)’ -b ‘(gimp-quit 0)’

A GUI plugin for Auto White Balance / Local Contrast Enhancement / LOMO

  • Use inside GIMP
  • Check boxes for each effect
  • Creates a new layer: “Enhanced”
  • To run:
  • Script-Fu > Color > Auto WB+LCE

 

Screenshot of the GUI Auto WB+LCE plugin:

 

Both scripts install to the ~/.gimp-2.x/scripts/ folder.

I tend to run the batch script first, then open up an image inside GIMP to further process with my GUI script and others.

Any feedback / tips / advice / requests is appreciated… Enjoy!

 

Leave a Comment