Writing a GIMP Plug-In

Kevin Turner


Table of Contents
1. Introduction
Status of this Document
Styles in this Document
2. Essentials of a Plug-in
MAIN
The Query Procedure
PDB Parameters
The Run Procedure
GimpParam
Return values
Review
Run: More details
3. Working with the Image
Intro to Images
Origins of Coordinates
Pixel Regions
Data format
Drawable mergin' and stuff
More on Selections
Misc
4. Efficient Image Handling: Tiles
Tile Cache
Tile Iterators
5. User Interface
libgimpui
GimpConstraintFunc
gimp_dialog
Internationalisation
The Help System
Standards
A. Premultiplied Alpha
B. Threading
Glossary
Index
Colophon
List of Tables
2-1. Menu locations and required parameters
List of Figures
2-1. The GimpPlugInInfo Structure
2-2. gimp_install_procedure
3-1. GimpDrawable Definition
3-2. Functions to obtain coordinates.
List of Examples
2-1. Defining PLUG_IN_INFO
2-2. Establishing an array of parameters.
3-1. Tidying up dirty drawables.
4-1. Using the tile iterator.