Using Montage with -scenes

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
ahecht

Using Montage with -scenes

Post by ahecht »

I am trying to create a montage of a bunch of small images named 0001.jpg, 0002.jpg, and so on. I was trying to use the -scenes command as shown at http://www.imagemagick.org/script/comma ... hp?#scenes.

My command is

Code: Select all

montage -scenes 1-160 %04d.jpeg -geometry +0+0 -tile 80x2 output.jpeg
However, when I run this, I get

Code: Select all

montage: invalid argument for option `1-160': -scenes.
I am using ImageMagick 6.3.9 Q16 for Windows if it matters.
User avatar
anthony
Posts: 8883
Joined: 2004-05-31T19:27:03-07:00
Authentication code: 8675308
Location: Brisbane, Australia

Re: Using Montage with -scenes

Post by anthony »

try this and tell me if it works.

Code: Select all

   convert -scenes 1-160 %04d.jpeg miff:- |
      montage - -geometry +0+0 -tile 80x2 output.jpeg
It may be that montage just does not understand -scenes properly. This will let us know if it is montage of IM in general.
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: Using Montage with -scenes

Post by magick »

We have a patch for the montage utility to fix the scenes option in ImageMagick 6.3.9-8 Beta. The patch will be available within a day or two.
ahecht

Re: Using Montage with -scenes

Post by ahecht »

anthony wrote:try this and tell me if it works.

Code: Select all

   convert -scenes 1-160 %04d.jpeg miff:- |
      montage - -geometry +0+0 -tile 80x2 output.jpeg
It may be that montage just does not understand -scenes properly. This will let us know if it is montage of IM in general.
Convert throws back "convert: unrecognized option `-scenes'."
magick wrote:We have a patch for the montage utility to fix the scenes option in ImageMagick 6.3.9-8 Beta. The patch will be available within a day or two.
Thanks, but I assume you mean 6.3.9-9 Beta?
ahecht

Re: Using Montage with -scenes

Post by ahecht »

This issue appears fixed as of 6.3.9-10. Thanks!
Post Reply