You are here

Python

GIMP scripting in Python.

WrapMap

Generates a complex rim around an arbitrary shape from a line of pixels. Get it from SourceForge: http://gimp-wrapmap.sourceforge.net/

Scale2x

This is a Gimp plugin that uses Python to re-implement Scalex algorythm. This plugins come with an extra, Scale2Ex that combine scale2x and gimp dilate plugin.

Scale2x is real-time graphics effect able to increase the size of small bitmaps guessing the missing pixels without interpolating pixels and blurring the images.

It was originally developed for the AdvanceMAME project in the year 2001 to improve the quality of old games with a low video resolution.

The Scale2x effect was developed by Andrea Mazzoleni in the year 2001 for the project AdvanceMAME.

Simple two colors border

This script produces a two colors border. You can choose the border width in % of the smallest image dimension, and the inner border width as a % of the whole border (and the colors, of course).
This can seem a bit complicated, but if you have pictures of different sizes and want a same-looking border, % will get you there.

Just remove .txt from the filename after downloading the script (don't know why it was added..)

Map Style

Users Guide
___________

What this plugin does:

Transfers artistic style from one image to another. Often the source is an artistic image and the target is a realistic, photo image. But you can also transfer between artistic images or between realistic images.

An artist might say this plugin "renders in the media and style from another image." A computer user might say it "renders in the theme of another image."

Transferring style means transferring small scale features (color and texture) to an image while retaining large scale features (objects.)

Render Texture

This plugin creates a new image having texture synthesized from the selection.

It hides several steps to set up and use the resynthesizer. It requires the separate resynthesizer plug-in.

See the Resynthesizer author Paul Harrison's website, about using the resynthesizer to generate textures.

The effect for users:
Similar to "Fill resynthesized pattern" except:
- here the arguments are reversed: you select a texture and create a new image
instead of selecting an area and choosing a pattern.
- here the result is less random (since Fill resynthesized adds noise.)

Adaptive saturation curve for LabCurves

Hi folks,

there is an update for LabCurves to have a curve for adaptive (or absolute) saturation adjustments. It is an external 16 bit program which can be semmlessly used from gimp with a python script.

More information here: http://www.mm-log.com/blog/2010-07-09/adaptive-saturation-curve-labcurves

greets mike

EZ Perspective

Turn this:

original image, taken by camera tilted up

…into this:

perspective corrected image, rectilinear, correct proportions

Spirograph Curves

This is a simple python script, which creates spirograph type curves. There are endless varieties which can be generated. There is a page on my site with some documentation:

http://www.andyshelley.co.uk/gimpfarris/index.php

Make shortcut

A plugin that makes shortcuts, in a Shortcuts menu, to other plugins.

Install it in your local plugin directory. You can run it to see what it would do, and cancel it, without creating any shortcuts. If you do create shortcuts, it will create them in your local plugin directory. You can later manually delete the shortcut plugins.

This is a prototype that I'm posting for comment. It works but it could be improved. I would be glad to start a community project.

A future version might:
- let you enter parameters for the target plugin (make a "preset")

Python plugin examples templates using gimpfu, for programmers

This file contains examples, or templates, of registering plugins using gimpfu.register().
This is for GIMP Python programmers, not users.
When installed, this one file puts many (nine) demo plugins into GIMP.
The demo plugins don't do much except make an appearance.

These demonstrate various combinations of:
- where plugins appear (or not) in the menus (or elsewhere) in GIMP
- when the plugin's menu items are enabled (sensitive)
- what parameters a plugin_main() receives
- whether a plugin opens a GUI dialog for user to choose options (set parameters.)

Pages

Subscribe to RSS - Python