Linux Today: Linux News On Internet Time.

Writing Plugins for GIMP in Python

Apr 09, 2009, 17:04 (0 Talkback[s])
(Other stories by Akkana Peck)

"Have you ever wished you could automate a few functions in GIMP? Today's article will show you how to use Python to write simple GIMP plug-ins...

"GIMP-Python scripts live under your home directory, in .gimp-2.6/plug-ins/. If you're using a different GIMP version, like 2.4 or 2.7, change the name appropriately. So edit a file there -- for example, $HOME/.gimp-2.6/plug-ins/pytest -- and start with the following headers:

#!/usr/bin/env python

"from gimpfu import *"

Complete Story

Related Stories: