convert 16bit gray-scale image to 8bit

Questions and postings pertaining to the usage of ImageMagick regardless of the interface. This includes the command-line utilities, as well as the C and C++ APIs. Usage questions are like "How do I use ImageMagick to create drop shadows?".
Post Reply
gulfoslides

convert 16bit gray-scale image to 8bit

Post by gulfoslides »

I have a set of 16bit gray-scale images (without a color table) that I would like to convert to 8bit gray-scale images (without a color table). I am looking for an algorithm that will inspect the image and quantize it as "best" as possible. Can convert do this ?
User avatar
fmw42
Posts: 25562
Joined: 2007-07-02T17:14:51-07:00
Authentication code: 1152
Location: Sunnyvale, California, USA

Re: convert 16bit gray-scale image to 8bit

Post by fmw42 »

gulfoslides

Re: convert 16bit gray-scale image to 8bit

Post by gulfoslides »

Actually quantize does not solve my problem. But this does:

convert -depth 8 -normalize
Post Reply