[Gimp-user] Does Gimp have CHOP like ImageMagick

2006-04-12 Thread saulgoode
I have written a script that will do this. If a horizontal selection is made
across a layer, the script cuts out the selection and joins the top and bottom.
If a vertical selection is made across the height of a layer then it joins the
left and right unselected regions. The script is located at
http://www.postbrickfilms.com/saulgoode/GIMP/anti-crop.scm

IMPORTANT NOTE: If the selection is other than a horizontal or a vertical
"strip" across the entire width or height of the layer, this script will behave
in the following manner (much harder to describe than to use)...

If the layer is considered to be the combination of 9 rectangular regions:

123
456
789

The horizontal strip case could be described as "456" being the selection.
Performing "anti-crop" on the horizontal selection ("456") leaves

123
789

Similarly, for vertical strip selection ("258"):

13
46
79

Left half selection ("124578") leaves:

3
6
9

Central selection ("5") leaves:

13
79

Corner selection (such as "1245") leaves:

9

Center edge selection (such as "25") leaves:

79
___
Gimp-user mailing list
Gimp-user@lists.XCF.Berkeley.EDU
https://lists.XCF.Berkeley.EDU/mailman/listinfo/gimp-user


Re: [Gimp-user] Does Gimp have CHOP like ImageMagick

2006-04-11 Thread Carol Spears
On Wed, Apr 12, 2006 at 01:19:59AM +, [EMAIL PROTECTED] wrote:
> > On Tue, Apr 11, 2006 at 09:12:37PM +, [EMAIL PROTECTED] wrote:
> > > 
> > > Does Gimp have a CHOP tool similar 
> > > to ImageMagick? Magick CHOP chops
> > > a vertical or horizontal bar from
> > > an image.
> > > 
> > does it make two or several images or does it
> leave a big transparent
> > hole in the middle of it?
> > 
> > the first can be accomplished with guillotine or
> perltine or 
> > pyslice or
> > i think there is a scriptfu-slice floating around.
> > 
> > the second can be accomplished by defining a
> selection and Edit/Cut.
> > 
> A single mouse drag defines the
> slice. The slice disappears and
> the image strips above and below
> or left and right of
> the slice join together as one image.
> 
> An example of use: we photograph 
> visiting groups against a white 
> wall with a sign several feet
> above their heads. A Magick
> vertical chop drops the sign 
> to about one foot above their
> heads. Without carefully examining
> the mortar joints in the wall
> I can't see the chop.

to the best of my knowledge, gimp doesn't do this; although there are
probably scripts out there that i don't know about and maybe something
like this exists.

maybe i will write one even

sorry that it is not part of a basic gimp install for you though,

carol

___
Gimp-user mailing list
Gimp-user@lists.XCF.Berkeley.EDU
https://lists.XCF.Berkeley.EDU/mailman/listinfo/gimp-user


Re: [Gimp-user] Does Gimp have CHOP like ImageMagick

2006-04-11 Thread jim
Carol,

A single mouse drag defines the
slice. The slice disappears and
the image strips above and below
or left and right of
the slice join together as one image.

An example of use: we photograph 
visiting groups against a white 
wall with a sign several feet
above their heads. A Magick
vertical chop drops the sign 
to about one foot above their
heads. Without carefully examining
the mortar joints in the wall
I can't see the chop.

Jim

- Original Message -
From: Carol Spears <[EMAIL PROTECTED]>
Date: Tuesday, April 11, 2006 9:21 pm
Subject: Re: [Gimp-user] Does Gimp have CHOP like
ImageMagick
> On Tue, Apr 11, 2006 at 09:12:37PM +,
[EMAIL PROTECTED] wrote:
> > SuSE 8.2, 9.3
> > Gimp 1.2.3, 2.2.4
> > 
> > Does Gimp have a CHOP tool similar 
> > to ImageMagick? Magick CHOP chops
> > a vertical or horizontal bar from
> > an image.
> > 
> does it make two or several images or does it
leave a big transparent
> hole in the middle of it?
> 
> the first can be accomplished with guillotine or
perltine or 
> pyslice or
> i think there is a scriptfu-slice floating around.
> 
> the second can be accomplished by defining a
selection and Edit/Cut.
> 
> carol
> 
> 
___
Gimp-user mailing list
Gimp-user@lists.XCF.Berkeley.EDU
https://lists.XCF.Berkeley.EDU/mailman/listinfo/gimp-user


Re: [Gimp-user] Does Gimp have CHOP like ImageMagick

2006-04-11 Thread Carol Spears
On Tue, Apr 11, 2006 at 09:12:37PM +, [EMAIL PROTECTED] wrote:
> SuSE 8.2, 9.3
> Gimp 1.2.3, 2.2.4
> 
> Does Gimp have a CHOP tool similar 
> to ImageMagick? Magick CHOP chops
> a vertical or horizontal bar from
> an image.
> 
does it make two or several images or does it leave a big transparent
hole in the middle of it?

the first can be accomplished with guillotine or perltine or pyslice or
i think there is a scriptfu-slice floating around.

the second can be accomplished by defining a selection and Edit/Cut.

carol

___
Gimp-user mailing list
Gimp-user@lists.XCF.Berkeley.EDU
https://lists.XCF.Berkeley.EDU/mailman/listinfo/gimp-user


[Gimp-user] Does Gimp have CHOP like ImageMagick

2006-04-11 Thread jim
SuSE 8.2, 9.3
Gimp 1.2.3, 2.2.4

Does Gimp have a CHOP tool similar 
to ImageMagick? Magick CHOP chops
a vertical or horizontal bar from
an image.

Jim Lawson
Oklahoma Geological Survey
___
Gimp-user mailing list
Gimp-user@lists.XCF.Berkeley.EDU
https://lists.XCF.Berkeley.EDU/mailman/listinfo/gimp-user