Page 1 of 1

-units option not recognized by montage command

Posted: 2005-12-08T20:20:42-07:00
by andyroo
Hello,

Currently, the montage command does not allow the -units option to be used with it; therefore, I can not set the dpi of the output image as I can with the convert command.

montage -density 300x300 infilename.eps -page 5100x3300 -tile 7x -geometry +25+10 outfilename.tif (output image here says 72 dpi)

convert -density 300x300 [b]-units PixelsPerInch[/b] infilename.tif outfilename.png (output image here says 300 dpi, the desired result)

Can this functionality be added to the montage command? I'm using ImageMagick-6.2.5-Q16.

Thanks,

Andrew

Posted: 2005-12-08T20:50:43-07:00
by magick
The -units option has been added to ImageMagick 6.2.6 Beta, available within a day or two. Thanks for the problem report.

-units option not recognized by montage command

Posted: 2006-02-20T09:16:30-07:00
by andyroo
Hello,
I installed ImageMagick 6.2.6 yesterday (19 Feb) and I see from the documentation on the ImageMagick website that the -units option has indeed been added to the montage command. However, I still can't get it to work; the output image still says it's 72 dpi (or 2 dpi if the output is png). Where in the command line should the -units option go? I've tried all sorts of variations, either before the infilename or before the outfilename (or both as below) and get the same result no matter what.

montage -density 300x300 -units PixelsPerInch infilename.eps -page 5100x3300 -tile 7x -geometry +25+10 -density 300x300 -units PixelsPerInch outfilename.tif

Am I doing something wrong, or is this a bug?

Thanks for your help,

Andrew