python

Smart Gradient

This is a simple gradient plugin for GIMP, written in python. It applies a linear gradient to a rectangular selection, in one of four directions, using the colours of the pixels at the starting edge, and fading to the background colour, over the width, or height of the selection. To try this out, all you need to do is download the script, and store it in the gimp plugins folder, in your home directory. Remember to set the executable flag on the file. An example of use may be found on my site : www.andyshelley.co.uk/gimpgradient/index.php

Straighten & Crop by Bert Hinz

This plugin is by Bert Hinz. As his web site seems to be down, I'm archiving it here. It says it's "free software" (looks like part of the GPL Licence) so I'm assuming this is OK.  read more »

Demonstrate built-in GUI widgets for Gimp plugins written in Python

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.

PAL and PAL VHS filters

A couple of Python-Fu filters for making images look like they have been PAL encoded or retrieved from a VHS tape. The plug-ins will scale any image they are fed to 720 x 576 - this is because that's the size PAL images are.

PAL images have non-square pixels - if you want to correct the aspect ratio afterwards you can scale them to 788 x 576.

Palette to Image

Palettes Menu -> Palette to Image

Take the active (selected) palette and create an image containing the colors and their names. Requires python.

Options:
- Font: pick the font for the name listing
- Size: size of each color

Tested with 2.6 and linux, but should work cross-platform.

TODO: it's hardcoded to a minimum of 200px wide - I should change that to something more reasonable. Some nice additions would be bg and text color selectors, and possibly some layout options (spacing, columns, etc.)

Have fun ;)

Export Layers as PNG

File->Export Layers->

Prompts for a folder to save PNG files. Pretty straightforward.

Tested in 2.6.1 on linux and 2.6.6 on XP.

OpenRaster load/save handler

OpenRaster is an effort by the Create project[1] to offer a standardized and open interchange format for raster-based applications. MyPaint and Drawpile (SVN version) uses this format by default, and Krita and gegl should be able to use it. Now GIMP can too! This plug-in will be in GIMP 2.7.1+ If you are using such a version, please use the provided plugin instead of this one.  read more »

Gimp IDE

Simple GIMP IDE.  read more »

Mix cells

Script to randomly mix cells of a selection. The bounding box of the current selection will be used automatically to eliminate non-rectangular and feathered selection. After specifying the count of columns and rows in the selected region the width and height of the selection will be reduced if necessary (thus ensured the divisibility of the selection). The script will then shuffle the cells inside the selection and return the mixed image on a new layer or in place of the original layer.

Fake-DRI

This plugin fakes some kind of DRI effect by enchancing the dark parts of a picture and reducing the light parts. After that procedure it enhances the contrast by using the unsharp masking filter.

Because GIMP has no action recorder till now, i wrote this as a simple batch in python ;-).

I hope, you're like this little thing.

Tested with GIMP 2.6.x. Should be fine in 2.4.x too.

Syndicate content