montage command doesn`t work

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
chainsaw

montage command doesn`t work

Post by chainsaw »

Hi,

I installed the image magick version ImageMagick-6.3.7-2-Q16-windows-dll.exe

i want to montage two jpg`s with a batch. The command line is: montage pic1 pic2 result.jpg

The only result i get is a dosbox and the command line loops as long i stop the dosbox.
What`s wrong? Can anybody help me?

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

Re: montage command doesn`t work

Post by fmw42 »

Are pic1 and pic2 generic names for the files or are they the actual file names? If the latter, then perhaps you need to append the actual suffix for IM to know what type of input images they are (.e.g. .jpg, .png, etc).

You also likely need to tell montage what format you want the two image montaged -- as a row or as a column.

Use -tile x1 for one row and -tile 1x for one column.

See http://www.imagemagick.org/Usage/montage/
chainsaw

Re: montage command doesn`t work

Post by chainsaw »

Thank you for your answer!

the exact command is: montage pic1.jpg pic2.jpg result.jpg

I tried the -tile command - unfortunately with the same result.

any Idea?

Is it possible, that i have to install some (sorry i dont know how to say) plugins etc?

Thank you
chainsaw
User avatar
anthony
Posts: 8883
Joined: 2004-05-31T19:27:03-07:00
Authentication code: 8675308
Location: Brisbane, Australia

Re: montage command doesn`t work

Post by anthony »

No plugins. See IM examples, Montage
Anthony Thyssen -- Webmaster for ImageMagick Example Pages
https://imagemagick.org/Usage/
User avatar
magick
Site Admin
Posts: 11064
Joined: 2003-05-31T11:32:55-07:00

Re: montage command doesn`t work

Post by magick »

We tested your command and it works fine for us under Linux / Windows. Try adding -debug trace,all to your command line and post the last 50 lines of the output here so we can trace the problem.
Post Reply