You are here

Python

GIMP scripting in Python.

Drag mouse to resize brush (updated for linux)

Works like the blender brush size controls, making it easy to change your brush size with a mouse or graphics tablet by letting you drag the mouse left to right to interactively change the brush size.

Now you don't have to tap hotkeys repeatedly or interrupt your painting flow by moving the mouse to the slider

Requirements
---------------------------
Gimp 2.8
Windows (tested on Windows 7 x64)
Linux (tested on Ubuntu 12.04 x64)

Grid of Watermark

This script craete a grid of watermark on yours photo in two ways:
-BatchMode
-Layer

Source Code and Wiki

I made a fix about create x,y coordinates.

Light and shadow centroids

This Python plug-in helps in the comparison of the left part of an image to the right part (equilibrium or not). It can be applied to any type of image and computes the centroid of the gray image pixels. The centroid is similar to the centre of mass concept, where mass is replace by another quantity; here it is the lightness and the greyness of the pixel.

Group change font

Change font and font size of all text layers within a group.

Group offset

It's basically the same as Layer > Transform > Offset, except it works on layer groups.

grid-filler-random-color

A script to fill areas in a grid with random colors from a list or a gradient

The doc: http://gimp-tools.sourceforge.net/tools.shtml
The script: http://sourceforge.net/projects/gimp-tools/files/scripts/

The sample:

Enjoy.

Export Sublayers for Gimp 2.8

based on http://registry.gimp.org/node/26292, I added export for sublayers in gimp 2.8. I'm not a python programmer, so I'm happy when someone would code a more clean version, but it works anyway..

Show Layer Information

This small script shows some information related to the current selected layer. This info includes:

- The layer's name
- The layer dimensions (in pixels)
- The layer offset respect the origin of the whole image (in pixels)

You can go to View->Layer info menu option to show the layer information window. The window stays on top, so the user can switch between the different layers of the image to inspect their values easily.

Scale Layer to Image Size


GIMP 2.8 Python Plug-in.
This plug-in scales the contents of the layer (or layer group) to image size.

Installation Instructions:
1. Extract "scale-layer-to-image-size.py" from .zip archive to the ".../.gimp-2.x/plug-ins/" directory.
2. Make sure that the extracted file is executable.
3. If you are already running GIMP, close and reopen it.

Vector Path

This is a vector path generator script with a few modes and options. Visit Home Page for details and download.

Home page: www.bytes-and-pixels.com

Vector Path Plugin

Pages

Subscribe to RSS - Python