koyaanisqatsi imagemagick.org wrote:
>> creates an output PNM file that uses 16 bit color
values
>Add -depth 8 to your command line or with MagickWand use
SetImageDepth(image,8).
Thank you for the pointer. I was wondering what the option
was. That
is helpful for my situation, although I imagine that using
"-depth 8"
would also cause data to be lost from scanners that actually
produced
scans with bit depths greater than 8 (a fairly common
feature these
days). So, it would still be best if "convert
-trim" did not promote
the PNM file to 16 bits unnecessarily, so that 8 bit scans
would
get the space savings of 8 bit output and >8 bit scans
would not be
chopped to 8 bit.
By the way, I have submitted a patch to webmaster djvulibre.org that
allows djvulibre to read 16 bit PNM files, but,
unfortunately,
interpolating the intensity range down to [0..255] because
that
is that djvulibre seems to use internally.
Anyhow, thanks again for your help.
Adam Richter
adam yggdrasil.com
_______________________________________________
Magick-bugs mailing list
Magick-bugs imagemagick.org
http://studio.imagemagick.org/mailman/listinfo/magick-
bugs
|