[magick-users] ImageMagick converting 8 bit images to 16 bit

duc.sequere.aut.de.via.decede at imagemagick.org duc.sequere.aut.de.via.decede at imagemagick.org
Wed Apr 2 08:50:11 PDT 2008


> The problem is that when I do process them, I get 8 bit images as output.

Do you mean 16-bit for output?  If you use the Q16 version of ImageMagick
and modify any pixels they are promoted to 16-bit.  If you want to work
exclusively in 8-bit, build a Q8 version of ImageMagick or set the image
depth with the Q16 version of ImageMagick:

  convert my-8-bit-gray.png -resize 50% -depth 8 resize.png



More information about the Magick-users mailing list