how to convert a 24 bit color picture to 15 bit color

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
grego

Re: how to convert a 24 bit color picture to 15 bit color

Post by grego »

Ok, I'm almost complete newbie, but something close to
convert t32.png +dither -depth 15 t15.png
might do it for you, turning t32.png to t15.png.

grego at http://mpaja.com
User avatar
anthony
Posts: 8883
Joined: 2004-05-31T19:27:03-07:00
Authentication code: 8675308
Location: Brisbane, Australia

Re: how to convert a 24 bit color picture to 15 bit color

Post by anthony »

At this time IM only deals with specific bit depths. or output ranges.
I doubt it will work. Especially for the PNG coder.

I have also wanted to be able to alternatively specify 'Max' value for some formats like NetPBM formats and IM enumerated pixel (txt:) formats. For example -maxvalue=100 to output colors in the range of 0 to 99.
Anthony Thyssen -- Webmaster for ImageMagick Example Pages
https://imagemagick.org/Usage/
Post Reply