Writing GIMP scripts

PAINTING BY NUMBERS

Article from Issue 52/2005
Author(s):

Many users turn to GIMP for pictures in the window, but some may not realize GIMP also has scripting capabilities that allow you to automate recurring tasks. The Python scripting language is a useful alternative to the GIMP’s integrated Lisp dialect.

The GIMP image manipulation program has a variety of useful functions. But navigating a complicated menu tree can be a pain if you need to apply the same tools to a large number of images. Fortunately, the GIMP has an integrated programming interface that allows users to script recurring tasks. This said, the Scheme [1] programming language is not everyone’s idea of fun; its bracket-oriented syntax is difficult to learn. Little surprise that fans of other scripting languages have come up with alternatives. The Perl interface, GIMP-Perl, is fairly advanced and supports a server mode in which GIMP parses scripts without needing to run the GUI.

Buy this article as PDF

Express-Checkout as PDF
Price $2.95
(incl. VAT)

Buy Linux Magazine

SINGLE ISSUES
 
SUBSCRIPTIONS
 
TABLET & SMARTPHONE APPS
Get it on Google Play

US / Canada

Get it on Google Play

UK / Australia

Related content

  • GIMP 2.6

    GIMP 2.6 offers exciting improvements for graphics professionals and enthusiasts alike. With this latest release of GIMP, your imagination might just have found its new best friend.

  • GIMP 2.2

    The GNU Image Manipulation Program (GIMP) is often called the premium open source image manipulation project. Version 2.0 was released in February 2004, and now GIMP 2.2 is available. This article looks at GIMP’s progress over the past year.

  • Animation with GIMP

    Although developed for editing individual images, GIMP has everything you need to create perfect animations via plugins and scripts.

  • Fix "Improved" Saving Functionality in GIMP 2.8
  • Perl: Retouching Photos

    In many cases, whole series of digital images need the same kind of modifications, which forces the photo-grapher to repeat the same steps time and time again in GIMP. Have you ever considered retouching in Perl?

comments powered by Disqus
Subscribe to our Linux Newsletters
Find Linux and Open Source Jobs
Subscribe to our ADMIN Newsletters

Support Our Work

Linux Magazine content is made possible with support from readers like you. Please consider contributing when you’ve found an article to be beneficial.

Learn More

News