4.9 - GAT_TOOLS (guides) English

Unser Wissens Forum zum Thema GIMP, Funktionen kurz und bündig erklärt
moderierter Bereich

4.9 - GAT_TOOLS (guides) English

Beitragvon Hans » Mo 15. Nov 2010, 15:47

GAT stands for GIMP-Atelier. This is a collection of tools, where you could handle guides, e. g. draw, delete, save to or load from file. The tool consist four different functions which are all located in one Python file. This is a multi language application, currently available in German and English. If you are interested in additional language, please copy file locale/de/LC_MESSAGES/gat_tools.pot to locale/xx/LC_MESSAGES/gat_tools.pot. Create a new catalog using program poedit from .pot file and send the .mo and .po file to developer at gimp-atelier dot org. We will update the plug-in.

Installation:
Download file from registry.gimp.org, unzip and save it in your Plugin Folder. Restart GIMP. You will find this tools on Tools / GIMP-Atelier/........

Configuration:
Code: Alles auswählen
#### global definitions ###########

PHI = (1 + sqrt(5))/2
if not sys.platform == 'win32':
  GAT_CFG = os.environ['HOME'] + '/.gimp-2.6/gat_tools.cfg'
else :
  GAT_CFG = os.environ['HOMEDRIVE'] + os.environ['HOMEPATH'] + '\\.gimp-2.6\\gat_tools.cfg'


###################################
The program is storing positions of guides in ~/.gimp-2.6/gat_tools.cfg. If needed you could change it. Linux users have to edit the line containing environ['HOME'], Windows users have to change line containing environ['HOMEDRIVE']. Windows user, please remember you have to write \\ if there is one \ needed. Next example is showing a Windows configuration.
Code: Alles auswählen
#### global definitions ###########

PHI = (1 + sqrt(5))/2
GAT_CFG = 'C:\\temp\\.gimp-2.6\\gat_tools.cfg'

###################################


Set of cross guide:
Bild Bild
This function has two options only
  • remove existing guides. Function should be self explanatory.
  • Selection Set
For select of a new set of guides, please press the button "Set of Guides" A menu with predefined different sets disappears, e. g. Golden Ratio and Third Rule. Golden Ratio and Third Rule used for composing pictures. The Sliders used for option Free Fields only.

Multiple Guides:
Bild

Now it's possible to set more than one guide on exact position in one step. For this you have to type in the position of the guides separated by comma. As you could see in example, it's also possible to use percentage notation. For this add a % to the value. Only integer values allowed. Values which are located outside the image will be ignored without error message.

Save Guides to File:
Bild
The program reads position of all guides and store it into the file. You have to give a name for the set only. There is no check for existing sets with same name! You could change file gat_tools.cfg as described next.

It's not possible to read all sets of guides and display it on GIMP. Worst case edit file gat_tools.cfg with a normal editor like notepad++ or gvim. It's a simple text file (ini File). The name of the set is written in square brackets.

Load Guides from File:
Bild
Type in the Name of the Set and guides will be drawn if the set is existing

Example:
Bild
Test picture with guides
Bild
Benutzeravatar
Hans
 
Beiträge: 2883
Registriert: So 27. Jun 2010, 12:56
Wohnort: Angeles City, PH

Re: 4.9 - GAT_TOOLS (guides) English

Beitragvon Hans » So 22. Mai 2011, 20:19

There is a new Version. The new application is a multi language application. If there is gat_tools_de.py installed, please delete this file.

In Scritp Set of Guides is a new option Free Fields. Type in number of vertical and horizontal fields and the script will set the guides evenly distributed on image.
Bild
Benutzeravatar
Hans
 
Beiträge: 2883
Registriert: So 27. Jun 2010, 12:56
Wohnort: Angeles City, PH


Zurück zu Wilber's Lexikon

Wer ist online?

Mitglieder in diesem Forum: 0 Mitglieder und 0 Gäste