Problem with montage when using the * wildcard

Questions and postings pertaining to the usage of ImageMagick regardless of the interface. This includes the command-line utilities, as well as the C and C++ APIs. Usage questions are like "How do I use ImageMagick to create drop shadows?".
Post Reply
tomil

Problem with montage when using the * wildcard

Post by tomil »

Hello,
my first post here.
I have a problem with montage, running on Windows XP SP3.
I reinstalled windows and downloaded latest ImageMagick (Version: ImageMagick 6.5.4-2 2009-06-30 Q16 OpenMP).
My script runs the following command:

montage *.png map.gif

and now it gives error

montage: unable to open image `kartta\': No such file or directory @ blob.c/Open
Blob/2476.


There is a directory called 'kartta' in the current dir so that's where the 'kartta\' name comes from, but it doesn't make any sense anyways.
With older IM version it worked OK. If I replace the command with, for example

montage 1178-2343-12.png 1178-2344-12.png map.gif

it works ok, so it seems like the wildcard has something to do with it?

Any ideas what might be the problem?

Thanks in advance,
Tomi
User avatar
fmw42
Posts: 25562
Joined: 2007-07-02T17:14:51-07:00
Authentication code: 1152
Location: Sunnyvale, California, USA

Re: Problem with montage when using the * wildcard

Post by fmw42 »

perhaps it is trying to use your directory kartta as if it were a file? i am unaware that montage can traverse a subdirectory to get images.
tomil

Re: Problem with montage when using the * wildcard

Post by tomil »

Maybe, I don't know. And even if it were, that would be different behavior from the old version that simply expanded the *.png to a list of png files in the current directory, without traversing subdirs.

Tomi
Last edited by tomil on 2009-07-12T17:42:25-07:00, edited 1 time in total.
User avatar
magick
Site Admin
Posts: 11064
Joined: 2003-05-31T11:32:55-07:00

Re: Problem with montage when using the * wildcard

Post by magick »

The problem you reported is fixed in the current ImageMagick beta release. Look for a new Windows distribution of ImageMagick 6.5.4-3 in about a week.
tomil

Re: Problem with montage when using the * wildcard

Post by tomil »

magick wrote:The problem you reported is fixed in the current ImageMagick beta release. Look for a new Windows distribution of ImageMagick 6.5.4-3 in about a week.
Ok, good to know. Thank you!

Tomi
Post Reply