> Wiggins d Anconia wrote: > > > > HTH, > > > > Indeed, you're right of course. I have a hunch that this is more than a > resource issue, but of course I should try using less images first to > eliminate it as a possibility. I'll try later and let you know how I get on. > > I was kind of hoping someone would spot an obvious mistake in my code - no > such luck :-) > > I did notice one mistake: > > my $output_file = 'home/james/montage_images/montage.gif'; # no leading '/' > > Where would this end up, or would it just throw an error? Or just work? I > doubt it has anything to do with my problem anyway, just curious. >
Possibly this could be the problem, though I would have hoped Image::Magick to throw an exception or some such if the file was not writeable instead of hanging. It should just throw an error, unless it builds the full path under your cwd, but I doubt its that smart. I also notice that you catch the return result of 'Write' and then warn if it is positive, but 'Write' returns the number of images written, so it should be positive. I suspect this is because it is just test code, but you will likely need to correct that before release. One more suggestion I had in light of these findings, would be to add a print statement after the Montage before the Write so we can confirm that the script is in fact hanging at the Montage rather than at the Write. 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>