Skip to content

Ribel78/gimp-plugins

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

33 Commits
 
 
 
 
 
 
 
 

Repository files navigation

gimp-plugins

Gimp plugins written in Python

Guide Creator

A plug-in for creating guides based on simple instructions or using active layer or selection as reference.

Installation:

Place the guide_creator.py file in .gimp-2.8\plug-ins\ folder.
In Gimp, the plug-in is located in Image - > Guides -> Guide Creator menu.

Usage:

Guides can be created using "Add guides from:" menu.

"Formula" option:

You can add guides by describing them using text description. H for horisontal (-) guide and V for vertical (|) guide followed by number (indeger or float) describing guide's position starting from the top left corner of the image. Position can be percent of the image width or height or distance in pixels, depending on the toggle "Use percent/pixels".
Example: H25V36.4H50
This will add horiszontal guides at 25%( or at 25-th pixel), 50%(or at 50 pixel) along Y axis and a vertical guide at 36.4% (or 36-th pixel) along X axis.

Another use of "Formula" is equidistant guide distribution. In this case use only letters to indicate the number of guides of different type.
Example: HHHVVVVV
This will add a 5x3 grid of guides.

Avoid spaces or other letters in the formula for accurate results.

"Include mirrored guides" toggle can add also guides that are symmetrical to those from the formula.

"Remove previous guides" toggle can clear existing guides before adding the new ones.

The rest of the options use active layer or selection bounds as reference for adding new guides.

Vector To Mask

A plug-in to convert or update path to layer mask.

Installation:

Place the vector2mask.py file in .gimp-2.8\plug-ins\ folder.
In Gimp, right click on active layer and run "Vector to Mask" command.

Usage:

The plug-in requires the names of the layer and the path to use as mask to be identical.

Select the layer, right click and choose "Vector to Mask" command.

This will create or update the existing mask for the layer.
The mask is feathered by 2 pixels and can be adjusted additionally with the Levels Tool.
If you don't want this step to be performed comment out the corresponding line in the script.

About

Personal Gimp plugins written in Python

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages