[magick-users] default depth of montage
Anthony Thyssen
anthony at griffith.edu.au
Tue May 15 19:36:10 PDT 2007
James Bigler on wrote...
| I'm a big fan of ImageMagick, so thanks for sharing this cool work.
|
| I used montage to stitch 3 images together. The input images all had a
| depth of 8, but the resulting image from montage had a depth of 16. I
| have some questions.
|
| 1. Should montage output an image with the same depth as the input images?
| 2. Is this is effect of the quantum size?
| 3. Can I determine the quantum size from a command line utility?
|
| montage -geometry 640x480 -tile 2x2 -frame 1 \
| case1/t.ppm case3/t.ppm case7/t.ppm m.ppm
|
The default depth is the IM compiled quality level. either Q8, 16 or 32
If you like a different depth set -depth 8 on a higher Q level IM.
You can also select betwwwn binary and text formats for the output.
NOTE while NetPBM formats allow ANY depth including non-powers of two!
IM only provides limited depth selections for this format. I have
reported this and proposed a solution, but no action has been taken.
See IM Examples, NetPBM formats
http://www.imagemagick.org/Usage/formats/#netpbm
Proposal for NetPBM depth selection...
http://www.imagemagick.org/Usage/bugs/future/#quality
Anthony Thyssen ( System Programmer ) <A.Thyssen at griffith.edu.au>
-----------------------------------------------------------------------------
May a thousand camels spit in your keyboard!
-- Anthony Thyssen (no offence)
-----------------------------------------------------------------------------
Anthony's Home is his Castle http://www.cit.gu.edu.au/~anthony/
More information about the Magick-users
mailing list