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

One simple reason: We are no Linux distro.

Have a look at e.g. Debian, their ability to provide the source reliably code for many years is beyond anything we'll be able to achieve. Take one simple server outage and a busy schedule for Ingo, then the source code is not available.

BTW, are we discussing samj's binaries package or Randall's?

Nothing wrong in both binary
My was just a general point : if possible keep it simple and friendly

But then schumaml

i downloaded a lot of windows binary you compiled, from your side or here, and i seldom found included in their zip the source code
(usually were not zipped with a README file with the link )

Yes, I have to change all of the binary packages I offer.

I have provided no binaries of my own. I am a Linux user. samj compiled my source code into a Windows binary without explaining how. [I really don't like that too much. =( ] In my second attachment ( 0.1.1 ), I have included samj's binary as stop-gap convenience for other Windows users.

Bonjour,

am a Linux user. samj compiled my source code into a Windows binary without explaining how. [I really don't like that too much. =( ]

I compile under Windows (using MinGW / MSYS) the same way as Linux (There is no difference).

Did you really try this with all the GIMP versions you listed?

No, I only tried it with GIMP 2.6. There is one C function "gimp_edit_copy_visible" which - according to the notation in the API - was implemented beginning with the release of GIMP 2.2. So, I assumed that my plug-in code would work with all versions of GIMP since that one. If I am mistaken, then please let me know, and I will update this posting.

Yours,
Randall

Pages

Subscribe to Comments for "Guillotine into Layers"