2 things: 1) of course I could write my own, but isn't that part of the
purpose of this community? i.e. about a hundred have already written
this code, so it's probably posted somewhere, and about a thousand
others use an existing commercial/shareware converter (including pilrc,
apparently).
And 2) it's not quite as easy as one might think - there is no
mathematical correlation between 24 and 16 bit palettes. Said another
way, NO 16 bit color exists in a 24 bit palette, regardless of the world
calling it "True Color". So you're off to a closest match routine...
which I admit isn't rocket science, but, again, if someone's already
posted it or offering it as shareware for $10, it's certainly worth the
4.8 minutes of my time, rather than the 1-2 hours it'd take to write.

  > -----Original Message-----
  > From: [EMAIL PROTECTED]
[mailto:bounce-palm-
  > [EMAIL PROTECTED] On Behalf Of Carsten
  > Sent: Saturday, August 09, 2003 5:29 PM
  > To: Palm Developer Forum
  > Subject: Re: Recomnd 16-Bit editor/converter?
  > 
  > 
  > How about:
  > void conv_24bpp_to_16bpp(u8 *in , u8 *out);
  > ?
  > 
  > Will say, write an own ..   20 lines of C should do the job quite
  > easily.
  > Since the Truecolor bmp format is just that easy..   :)
  > 
  > 
  > 
  > 
  > 
  > --
  > For information on using the Palm Developer Forums, or to
unsubscribe,
  > please see http://www.palmos.com/dev/support/forums/


-- 
For information on using the Palm Developer Forums, or to unsubscribe, please see 
http://www.palmos.com/dev/support/forums/

Reply via email to