Contents
========
- Overview
- Creating your own plug-in

Overview
========
This README describes the basics for writing a plug-in. For more
detailed information, see the manual in the docs directory.

In this directory are two sample plug-ins, DesaturatePlugIn and
ImageDividerPlugIn. DesaturatePlugIn is a simple filter that
demonstrates how one class can implement many filters (in this case, a
class that extracts individual color channels, or averages them to
desaturate an image). ImageDividerPlugIn is a plug-in which divides a
picture up into n x m segments and pastes these as individual layers
in a new image. It was built specifically for a feature found in Nikon
digital cameras that takes and places 16 individual pictures in a 4x4
grid in the same image.

Film GIMP note: DesaturatePlugIn will NOT work with Film GIMP, and
thus is not installed by default.

Creating your own plug-in
=========================
To create a plug-in, you need to perform the following steps:

1. Implement org.gimp.jgimp.plugin.JGimpPlugIn in your own custom
   class
2. Jar up all of your resultant class files into a jar file and copy
   it into the jgimp javafiles directory <gimpbasedir>/share/jgimp/javafiles/.
   Or, you can just copy the class files directly in there, without
   jarring them up.
