You are here

python

info about layers

Found the plug-in layer-info.py, at http://registry.gimp.org/node/26317, interesting.
To make it more useful, now it can generate some information beside viewing.
The additions are:
1) viewing and adding text explanations (date, etc...), about the layer, in a layer parasite
2) plug-in auto quit if no layer or initial image
3) permitting internationalization in 'user' folders (more text)
4) only one launch at a time

Python-Fu samples

This package contains 12 scripts, developed using Python and GIMP 2.8, which objective is to serve as templates and as code samples to programmers that are new in Python-Fu scripting.
In order to install these scripts, you must copy them in the "plug-ins" folder of GIMP (normally "GIMP 2/lib/gimp/2.0/plug-ins").
After installed, the scripts can be found in "Filters -> Test".

Basic scripts

These scripts are basic examples of how to create a Python plugin.

Python-Fu samples

== Pythoh-Fu samples ==

This package contains 12 scripts, developed using Python and GIMP 2.8, which objective is to serve as templates and as code samples to programmers that are new in Python-Fu scripting.
In order to install these scripts, you must copy them in the "plug-ins" folder of GIMP (normally "GIMP 2/lib/gimp/2.0/plug-ins").
After installed, the scripts can be found in "Filters -> Test".

Basic scripts

These scripts are basic examples of how to create a Python plugin.

Add EXIF Info to Image

This plugin, when combined with Phil's Exiftool, will place EXIF data from your image directly onto your image as text layers.

It currently will place Shutter Speed, Aperture, ISO, and camera Make.

All I did in modifying it was to (in windows only) have each EXIF tag be placed on the image canvas as separate text layers for further modification (font, size, justification, etc...).

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)

Narly Sprite

NOTE If you want to live on the bleeding edge of this plugin, I'm currently using github (https://github.com/narlynephi/narly_sprite) for my version control.

Narly Sprite is meant to help you create and edit sprite sheets. Pretty simple.

Narly Sprite requires Gimp 2.8+ because it uses group layers to organize the frames in the sprite.

Features include:

Layer via Copy/Cut


GIMP 2.8 Python Plugin.
Copy and move the selected area to a new layer in the same position.

This function is similar to the functions with the same names in Photoshop, and more powerful. Unlike them, it can copy/cut content, not just from one layer, but also from the layer groups.
In Photoshop, this is not possible :)

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