This plug-in is a demonstration for python programmers of Gimp plug-ins. It displays almost all the built-in GUI widgets for parameters to plugins. It shows what a plug-in dialog can be using what is built into PyGimp. An alternative to using what is built in, is to use a Python GUI library such as pygtk.
Motivation: the documentation seems sparse for PyGimp GUI widgets. This is example code.
It does nothing to Gimp images, it's not for users, just for beginning programmers.
This is a Python plug-in, written initially in Spanish by Mr Javier Pacheco, which from an image creates a standard complete month calendar. It has been translated in English and modified by me to try for more flexibility in the design of a standard calendar. Seven layers (plus an optional one) are added to the image to control the three main elements mostly below it on the page : background, calendar box and month-year info.
The options in the dialog are:
° Separation between the image and the calendar box
° Width of the calendar box relative to the image
The range selection script is a tool for easy and automatic creation of selections and layer masks. The selections or masks include all parts of the image that are situated within a defined range of tonal values, colours, saturation or edges. Selections can be based on one of 16 channels. For detailed instructions and several samples have a look at the attached manual.
With this script is easy to create gradients that they simulate a sunset or a natural landscape. You take a photo panoramic, it selects a thin vertical strip and it rotates it in counter-clockwise direction. You read the maximum width of the image and insert it (width / 2) like number of segments in the dialog box of the plugin.
Examples of images created with the plugin
On the left original photo, to right the gradient.
Someone on an email list I belong to asked about ways of making a counted cross-stitch pattern from a photo. There are commercial packages that do this, but it seemed like something GIMP could do, and I wanted some Python practice.
Attached is a zip file containing the following files:
It is a python plugin (so you need to have python installed) that can dynamically manage all the resources that gimp can use. (It is basically an extension of the brush manager plugin). He has given me permission to post it here :)
Transparency crop script by J R Hunt, updated by Darrell Enns to work with Gimp 2.6.
Automatically crops out transparent edges. This is particularly useful after performing a rotate or perspective correction on a photo. It can also perform optimizations to find the crop that removes the transparent edges while mainting as much of the original image as possible.