Skip to content

Automatically exported from code.google.com/p/sjgcit-gimp-python

Notifications You must be signed in to change notification settings

horkana/sjgcit-gimp-python

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 

Repository files navigation

This repository contain various Python scripts for GIMP.

Install_it adds a simple way for users to install Scheme scripts and Python plug-ins without all that file copying to hidden folders ( on Linux ). It also ensures that the copied Python files have the required execution permission so they actually run on Linux.

The perspective_path plugin contain TWO routines. Both take a vector path as a parameter ( easily created from the GIMP vector path tool ) and simply generate a rotation or perspective correction from that path. They're pretty intuitive, the idea being you visually select points on the path that define what you want to be parallel ( in the case of perspective correction ) or horizontal or vertical ( in the case of rotation ).

HSV_Layers is a set of quick layer mask creation tools to add a layer mask based on one component of a selected color space. I find such layer masks useful in some editing situation, but they can be tedious to make any other way.

An example showing how to use the Perspective From Path tool is below.

Example of Perspective Path Tool

We start with a shape that has edges we want vertical.

First we choose the path tool.

Then we use it to mark a path of four points. We start at one corner of the edges we want vertical, then proceed to the next point on our first vertical, and then move to the other edge we want vertical. You'd normally use the counter-clockwise arrangement I have shown in 1-2-3-4, but you can experiment with the alternative ordering and see what whackiness happens !

After that you just select the tool from the Tools->Transform Tools menu and the rest is done for you.

JPEG showing steps to apply perspective from path tool.

About

Automatically exported from code.google.com/p/sjgcit-gimp-python

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 100.0%