You are here

Python

GIMP scripting in Python.

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

Export layers (repeatable)

Export all (or only visible) layers as individual image files.
V.0.1 (20120513) - based on the plugin "Export Layers" version 0.5 by Chris Mohler.

Difference:

  • You can perform a task repeatedly, because the dialogue does not close after export finishing
  • You can choose either PNG or JPG file type (other types could be easily added)
  • You can merge the selected layers before exporting
  • You do not need to worry about the file name, because the script can automatically add a number to the filename

Pages

Subscribe to RSS - Python