You are here

Guillotine into Layers

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0
Rate this item!

Short description:,
The Guillotine-into-Layers plug-in is a variation on the Guillotine plug-in by Adam D. Moss. It is intended to address a shortcoming of the original: Too many windows opened! There is, however, a trade-off.

Advantages:
The Guillotine-into-Layers plug-in slices the original image along guides just as does the standard Guillotine plug-in; however, instead of spawning many new images - which clutter the desktop and bog down the processor, this plug-in makes only one new image with multiple layers - one layer for each rectangular region. The user can then selectively copy a single layer from this new image, and paste it as a new image, giving the user greater control. Furthermore, the new image is named with the *.xcf file suffix. That way, if the user needs to stop processing the layers of the new image before s/he is done, then s/he can simply save the new image in the GIMP's native format - which preserves multiple layers.

The trade-off:
When the original Guillotine plug-in slices an image, each new image has the same number of layers as the original, each copied from the same rectangular region. On the other hand, the Guillotine-into-Layers plug-in performs a copy-visible-layers action over each region to produce a new layer for the resulting image - implicitly merging the original layers.

Update 2009-11-8:
The second package - v.0.1.1 - contains an executable compiled for Windows platform and French translations - both from samj. See:
http://registry.gimp.org/node/19886#comment-5923

Update 2011-03-02:
The third package - v.0.1.2 - includes German translations from Avarra64. Otherwise, it is identical to the previous package. Vielen Dank, Avarra!

Note: Internationalization 2011-03-02:
If you are attempting to install this package in a language other than English (French or German as of now), I just discovered that I left out a key piece of information...
In the C header file "src/plugin-intl.h", line 40 reads:
#define LOCALEDIR "/usr/share/locale"
The macro LOCALEDIR is is supposed to be the directory where your system stores all available translated texts for all installed applications. I am using Slackware Linux, for which this macro is accurate. You might need to edit this line in order for your installation to be successful. (The file is read-only by default, so in this case, you'll have to change its permissions.)

GIMP Version: 
Code License: 

Comments

A German description for Guillotine-into-Layers you will find here:

http://www.gimp-atelier.org/forum/viewtopic.php?p=8056#p8056

Eine deutsche Beschreibung von Guillotine-into-Layers findet ihr hier:

http://www.gimp-atelier.org/forum/viewtopic.php?p=8056#p8056

Loves from Germany

Avarra

I do not know why, but the plugin is not working for me. When I use guillotine, it still uses the built-in method, and there isn't any other guillotine option available. I use Gimp2.7.0 on WinXP SP2, and installed this plugin the same way and into the same folder as all my other plugins.

Any suggestions?

I tried compiling it with make, sudo make install and got these errors

make -C po
make[1]: Entering directory `/home/antonio/Desktop/guillotine-into-layers-0.1/po'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory `/home/antonio/Desktop/guillotine-into-layers-0.1/po'
make -C src
make[1]: gimptool-2.0: Command not found
make[1]: Entering directory `/home/antonio/Desktop/guillotine-into-layers-0.1/src'
cc -O3 -Wall -c -o guillotine_into_layers.o guillotine_into_layers.c
guillotine_into_layers.c:28:26: error: libgimp/gimp.h: No such file or directory
guillotine_into_layers.c:29:18: error: glib.h: No such file or directory
guillotine_into_layers.c:39: warning: type defaults to ‘int’ in declaration of ‘gchar’
guillotine_into_layers.c:39: error: expected ‘;’, ‘,’ or ‘)’ before ‘*’ token
guillotine_into_layers.c:46: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘guillotine_into_layers’
guillotine_into_layers.c:51: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘PLUG_IN_INFO’
guillotine_into_layers.c:63: warning: return type defaults to ‘int’
guillotine_into_layers.c: In function ‘MAIN’:
guillotine_into_layers.c:65: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token
guillotine_into_layers.c:94: warning: type defaults to ‘int’ in declaration of ‘gchar’
guillotine_into_layers.c:94: error: expected ‘;’, ‘,’ or ‘)’ before ‘*’ token
guillotine_into_layers.c:160: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘position_compare_func’
guillotine_into_layers.c:167: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘guillotine_into_layers’
guillotine_into_layers.c:435: error: expected ‘{’ at end of input
make[1]: *** [guillotine_into_layers.o] Error 1
make[1]: Leaving directory `/home/antonio/Desktop/guillotine-into-layers-0.1/src'
make: *** [src] Error 2
antonio@computerfood:~/Desktop/guillotine-into-layers-0.1$ sudo make install
[sudo] password for antonio:
make -C po install
make[1]: Entering directory `/home/antonio/Desktop/guillotine-into-layers-0.1/po'
for L in ; \
do install -v -m 0644 $L.mo "/usr/share/locale/$L/LC_MESSAGES/"gimp-plugin-guillotine-into-layers".mo"; \
done
make[1]: Leaving directory `/home/antonio/Desktop/guillotine-into-layers-0.1/po'
make -C src install
make[1]: gimptool-2.0: Command not found
make[1]: Entering directory `/home/antonio/Desktop/guillotine-into-layers-0.1/src'
cc -O3 -Wall -c -o guillotine_into_layers.o guillotine_into_layers.c
guillotine_into_layers.c:28:26: error: libgimp/gimp.h: No such file or directory
guillotine_into_layers.c:29:18: error: glib.h: No such file or directory
guillotine_into_layers.c:39: warning: type defaults to ‘int’ in declaration of ‘gchar’
guillotine_into_layers.c:39: error: expected ‘;’, ‘,’ or ‘)’ before ‘*’ token
guillotine_into_layers.c:46: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘guillotine_into_layers’
guillotine_into_layers.c:51: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘PLUG_IN_INFO’
guillotine_into_layers.c:63: warning: return type defaults to ‘int’
guillotine_into_layers.c: In function ‘MAIN’:
guillotine_into_layers.c:65: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token
guillotine_into_layers.c:94: warning: type defaults to ‘int’ in declaration of ‘gchar’
guillotine_into_layers.c:94: error: expected ‘;’, ‘,’ or ‘)’ before ‘*’ token
guillotine_into_layers.c:160: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘position_compare_func’
guillotine_into_layers.c:167: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘guillotine_into_layers’
guillotine_into_layers.c:435: error: expected ‘{’ at end of input
make[1]: *** [guillotine_into_layers.o] Error 1
make[1]: Leaving directory `/home/antonio/Desktop/guillotine-into-layers-0.1/src'
make: *** [install] Error 2

I downloaded libgimp2.0-dev and it now compiles on Ubuntu 9.10

Merci beaucoup!
Thank you very much!

Comment cela fonctionne-t-il ?
How does it work for you?

Apportez une traduction a la Francais (fr.po) s'il vous plait?
Could you please provide a French translation file (fr.po)?

Apportez le code pour la compilation pour Windows (Makefile?) s'il vous plait?
Could you please provide the compiler code (Makefile?) for installing this plug-in on a Windows platform?

Cordialement... yours,
Randall

Post-scriptum:
Je ne parle/lis/ecris Francais bien pas. Je possede US-clavier.

it works for me too

But the package is too confusing for Windows users :
Only the exe and a README.txt (with how to install and link to the code ) are needed

Well even the translation files may be useful but few will know were place them..that should be explained in the README.txt

(but few will read a README.txt if not as last resource )

But the package is too confusing for Windows users :
Only the exe and a README.txt (with how to install and link to the code ) are needed

The package is not only for Windows users, and it's better to include sources.

... and there are Windows users who know how things are supposed to work. I appreciate it when people who provide binaries to not limit the packages to the lowest common denominator.

Pages

Subscribe to Comments for "Guillotine into Layers"