Discussion:
Montage is shrinking my images
Mark J. Reed
2010-05-09 12:22:46 UTC
Permalink
I have eight 1600x1200 images that I want to combine into a 4x2 montage at
full size. The man page for montage, and the examples I found online, all
seem to agree that it won't scale if you don't ask it to, but I'm getting a
tiny image as output. What am I doing wrong?

$ identify picture*jpg
picture1.jpg JPEG 1600x1200 1600x1200+0+0 8-bit DirectClass 207KiB 0.000u
0:00.000
picture2.jpg[1] JPEG 1600x1200 1600x1200+0+0 8-bit DirectClass 191KiB 0.000u
0:00.000
picture3.jpg[2] JPEG 1600x1200 1600x1200+0+0 8-bit DirectClass 205KiB 0.000u
0:00.000
picture4.jpg[3] JPEG 1600x1200 1600x1200+0+0 8-bit DirectClass 205KiB 0.000u
0:00.000
picture5.jpg[4] JPEG 1600x1200 1600x1200+0+0 8-bit DirectClass 229KiB 0.000u
0:00.000
picture6.jpg[5] JPEG 1600x1200 1600x1200+0+0 8-bit DirectClass 209KiB 0.000u
0:00.000
picture7.jpg[6] JPEG 1600x1200 1600x1200+0+0 8-bit DirectClass 168KiB 0.000u
0:00.000
picture8.jpg[7] JPEG 1600x1200 1600x1200+0+0 8-bit DirectClass 129KiB 0.000u
0:00.000
$ montage -tile 4x2 picture*jpg picture.jpg
$ identify picture.jpg
picture.jpg JPEG 512x252 512x252+0+0 8-bit DirectClass 39.9KiB 0.000u
0:00.000


I've tried various combinations of options, but nothing seems to work. Any
thoughts? This is ImageMagick 6.5.8 installed via MacPorts on Mac OS X
10.6.3.
--
Mark J. Reed <***@gmail.com>
Anthony Thyssen
2010-05-10 01:18:39 UTC
Permalink
On Sun, 9 May 2010 08:22:46 -0400
magick-users-***@imagemagick.org wrote:

| I have eight 1600x1200 images that I want to combine into a 4x2 montage at
| full size. The man page for montage, and the examples I found online, all
| seem to agree that it won't scale if you don't ask it to, but I'm getting a
| tiny image as output. What am I doing wrong?
|
| $ identify picture*jpg
| picture1.jpg JPEG 1600x1200 1600x1200+0+0 8-bit DirectClass 207KiB 0.000u
| 0:00.000
| picture2.jpg[1] JPEG 1600x1200 1600x1200+0+0 8-bit DirectClass 191KiB 0.000u
| 0:00.000
| picture3.jpg[2] JPEG 1600x1200 1600x1200+0+0 8-bit DirectClass 205KiB 0.000u
| 0:00.000
| picture4.jpg[3] JPEG 1600x1200 1600x1200+0+0 8-bit DirectClass 205KiB 0.000u
| 0:00.000
| picture5.jpg[4] JPEG 1600x1200 1600x1200+0+0 8-bit DirectClass 229KiB 0.000u
| 0:00.000
| picture6.jpg[5] JPEG 1600x1200 1600x1200+0+0 8-bit DirectClass 209KiB 0.000u
| 0:00.000
| picture7.jpg[6] JPEG 1600x1200 1600x1200+0+0 8-bit DirectClass 168KiB 0.000u
| 0:00.000
| picture8.jpg[7] JPEG 1600x1200 1600x1200+0+0 8-bit DirectClass 129KiB 0.000u
| 0:00.000
| $ montage -tile 4x2 picture*jpg picture.jpg
| $ identify picture.jpg
| picture.jpg JPEG 512x252 512x252+0+0 8-bit DirectClass 39.9KiB 0.000u
| 0:00.000
|
|
| I've tried various combinations of options, but nothing seems to work. Any
| thoughts? This is ImageMagick 6.5.8 installed via MacPorts on Mac OS X
| 10.6.3.
|

Set -geometry 0x0+10+10 where the +number is the amount of seperation
wyou want between images. This removes the montage geometry 'resize'
(setting them to '0x0' which means no-resize.

See IM examples, Montage, Geometry - Tile Size and Spacing
http://www.imagemagick.org/Usage/montage/#geometry
And more specifically...
http://www.imagemagick.org/Usage/montage/#controls

Default setting is something like 128x128\>+20+20
which means resize images larger than 128 pixel to 128 pixels.



Anthony Thyssen ( System Programmer ) <***@griffith.edu.au>
--------------------------------------------------------------------------
Give us this day our daily data,
and forgive us our I/O errors,
as we forgive those whose logic is faulty.
Extract from: http://www.cit.gu.edu.au/~anthony/info/docs/KeyboardPrayer
--------------------------------------------------------------------------
Anthony's Castle http://www.cit.griffith.edu.au/~anthony/

Loading...