Convert to 16 bpp TIFF (RGB556 or 565)

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
abnsa
Posts: 1
Joined: 2012-01-13T08:17:59-07:00
Authentication code: 8675308

Convert to 16 bpp TIFF (RGB556 or 565)

Post by abnsa »

Can Imagemagick convert an 24 bit per pixel (bpp) image (8 bit per channel - RGB888) to a 16 bit per pixel TIFF (5,6,5 bit per channel or 5,5,6 bit per channel - RGB556 or RGB565)?
The convert -depth parameter apparently only allows the same depth for all channels (called BitsPerSample in TIFF) such as 5-bit or 6-bit per channel resulting in 15-bpp or 18-bpp TIFF (for RGB with three channels.)
Are there hidden extra values for -depth? Such as -depth 5,6,5?
Or what is the solution if one exists?
(The info. in viewtopic.php?f=2&t=17425 was not sufficient to answer the question).

Yours, Anders Bo
Post Reply