Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

How do I guillotine a picture into layers instead fo images?

286 views
Skip to first unread message

Arthur T.

unread,
Feb 9, 2007, 1:20:54 AM2/9/07
to
I have several pictures for which I need to process different
strips differently. Each picture's strips will be at different
places and be different heights.

I tried adding guides and using the guillotine. That put
each strip in its own image. After I processed them, I had to put
them back together to make a re-processed whole image.

I'd like to have something like guillotine, but that creates
new layers instead of new images.

Is there something that does that automatically, or should I
just fall back to manually duplicating layers and deleting
everything I don't want from each?

I'm running GIMP 2.2.13 under Win2K. I don't know the
scripting languages, yet.

--
Arthur T. - ar23hur "at" intergate "dot" com
Looking for a z/OS (IBM mainframe) systems programmer position

stus...@hotmail.com

unread,
Feb 9, 2007, 6:45:21 PM2/9/07
to
+ to me, it seems you could just use selections saved to layers
for this, then, process each layer/selection as needed, and your
final image would include all this, no ?

Joal Heagney

unread,
Feb 9, 2007, 8:01:09 PM2/9/07
to
On Fri, 2007-02-09 at 01:20 -0500, Arthur T. wrote:
> I have several pictures for which I need to process different
> strips differently. Each picture's strips will be at different
> places and be different heights.
>
> I tried adding guides and using the guillotine. That put
> each strip in its own image. After I processed them, I had to put
> them back together to make a re-processed whole image.
>
> I'd like to have something like guillotine, but that creates
> new layers instead of new images.
>
> Is there something that does that automatically, or should I
> just fall back to manually duplicating layers and deleting
> everything I don't want from each?
>
> I'm running GIMP 2.2.13 under Win2K. I don't know the
> scripting languages, yet.
>

A non-gimp solution to this problem is a program called hugin. Hugin is
a panorama-stitching program that allows you to combine several images.
Once you've got the images in the program, you just click on spots in
the different images that correspond to the same physical object, and
then the program will rotate, scale, remove barrel distortion and
several other things until the pictures match up.

Joal Heagney

Spamless

unread,
Feb 9, 2007, 9:48:57 PM2/9/07
to
On 2007-02-09, Arthur T <art...@munged.invalid> wrote:
> I have several pictures for which I need to process different
> strips differently. Each picture's strips will be at different
> places and be different heights.
>
> I tried adding guides and using the guillotine. That put
> each strip in its own image. After I processed them, I had to put
> them back together to make a re-processed whole image.
>
> I'd like to have something like guillotine, but that creates
> new layers instead of new images.
>
> Is there something that does that automatically, or should I
> just fall back to manually duplicating layers and deleting
> everything I don't want from each?
>
> I'm running GIMP 2.2.13 under Win2K. I don't know the
> scripting languages, yet.
>

Using the Linux version ...

If you save the images ... then rename them to, say, FRAME_0001.[format],
FRAME_0002.[format], etc. and if you have the GAP plugin (Gimp Animation
Package/Plugin) you can treat it as a video!

Load the first frame, then VIDEO->FRAMES_TO_IMAGE creates an image with
each separate frame as a layer.


I've used that sort of trick when wanting to modify the frames in a GIF
animation ... split the image to frames (VIDEO -> SPLIT IMAGE TO FRAMES)
move path (video->move path) for some animated modifications and then
put it back in multilayer mode (frames to image) to save again as an
animated GIF.

Arthur T.

unread,
Feb 10, 2007, 12:39:14 AM2/10/07
to
In Message-ID:<45cd3299$0$6831$22fe...@news.thorn.net>,
Spamless <Spam...@Nil.nil> wrote:

>> I have several pictures for which I need to process different
>> strips differently. Each picture's strips will be at different
>> places and be different heights.
>>
>> I tried adding guides and using the guillotine. That put
>> each strip in its own image. After I processed them, I had to put
>> them back together to make a re-processed whole image.
>>
>> I'd like to have something like guillotine, but that creates
>> new layers instead of new images.

>If you save the images ... then rename them to, say, FRAME_0001.[format],


>FRAME_0002.[format], etc. and if you have the GAP plugin (Gimp Animation
>Package/Plugin) you can treat it as a video!

Using video to process still images. I like that kind of
inspired, out-of-the box thinking.

Yes, I have GAP, but I haven't even read up on it yet.
(During the times I have access to broadband, I tend to grab first
and ask questions later.)

I'll read up on it (if I have any documentation), but I don't
think it'll work for me. If I use guillotine, each image will
have a different size, and won't have the information of where it
was in the original image. If I manually duplicate and crop
layers, I don't think I'll need GAP.

Arthur T.

unread,
Feb 10, 2007, 12:39:22 AM2/10/07
to
In
Message-ID:<1171064721.2...@v45g2000cwv.googlegroups.com>,
"stus...@hotmail.com" <stus...@hotmail.com> wrote:

>+ to me, it seems you could just use selections saved to layers
>for this, then, process each layer/selection as needed, and your
>final image would include all this, no ?

Yes. This is similar to my fall-back idea:

>> or should I
>> just fall back to manually duplicating layers and deleting
>> everything I don't want from each?

However, I don't see any automated way to create a new layer
with the size and contents of a selected area. There are so many
options that I'm quite willing to believe that I've missed
something. I've looked again, and still can't find it.

That's why I asked the question the way I did. Guillotine
does everything I want, except that it creates separate images
instead of separate layers.

Arthur T.

unread,
Feb 10, 2007, 12:39:25 AM2/10/07
to
In Message-ID:<1171069270.5757.1.camel@ancienthart>,
Joal Heagney <jhe1...@bigpond.net.au> wrote:

>On Fri, 2007-02-09 at 01:20 -0500, Arthur T. wrote:
>> I have several pictures for which I need to process different
>> strips differently. Each picture's strips will be at different
>> places and be different heights.
>>
>> I tried adding guides and using the guillotine. That put
>> each strip in its own image.

>A non-gimp solution to this problem is a program called hugin. Hugin is


>a panorama-stitching program that allows you to combine several images.
>Once you've got the images in the program, you just click on spots in
>the different images that correspond to the same physical object, and
>then the program will rotate, scale, remove barrel distortion and
>several other things until the pictures match up.

If I use guillotine, there will be no overlap. Thus, no
spots that correspond to the same spots on the same object. If
you mean that I could point to different spots on the same object,
that might work. I have Hugin, but I haven't read its
documentation, yet.

However, I think that manually splitting the image into
frames might be easier than guillotining and using Hugin. I'll
have to give it some thought. At worst, it gives me greater
incentive to learn Hugin.

0 new messages