> 
> Hi there,
> 
> I have 189 gif images at 200x200 and I want to combine them in a 3x61
> arrangement, ending up with a 600x12200 gif. Firstly is this just crazy
> talk? I realise this is a large image, but I've dealt with larger in the
> past.
> 

As long as you have the resources...

> Secondly, what the hell am I doing wrong!? My code is below. I have the
> image filenames in a file. The first bit of the code grabs the filenames
> (all 8 characters long) and sticks them into @images. After this, it all
> gets a bit hazy. When I run the code, it gets as far as
"Montaging...\n" but
> then hangs (12 hours and counting) whle the CPU usage goes through the
roof.
> 

Have you tried the same thing with only a few images?  189 is a fair
number I suspect, try it with 3-4 see if you get the desired results,
then add more, this could just be a resource issue. 

> I used the code from here to create mine:
> http://savage.net.au/ImageMagick.html#ImageMagick_Hax_1_13
> 
> I would appreciate any pointers to where I'm going wrong, and also
pointers
> to any documentation that might help me understand this better.
> 

[snip code]

Your code looks correct based on a cursory glance at it and the docs.  I
would try fewer files first.  I am not entirely sure I understand what a
"sequence of images" is, I thought I did based on your description, but
the docs almost make it sound like they are on top of each other, which
doesn't make much sense as a montage.   You might also try presetting
the dimensions of the final image, that would prevent ImageMagick from
having to recalculate it, though not sure why this would matter. If you
find that the number of images is causing a problem you might try
montaging them in sets, then montaging the sets together, this won't
change your final image, and will increase the size of the images, but
will reduce the number of tiles in one image.

HTH,

http://danconia.org

-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
<http://learn.perl.org/> <http://learn.perl.org/first-response>


Reply via email to