On Fri, Nov 10, 2000 at 04:53:17PM -0800, Alex Pakhotin wrote:
> Hi Hans,
> 
> gray = 0.299*r + 0.587*g + 0.114*b

I think the equation I use has slightly different constants.

I do this for PiNGer (the viewer for ZBoxZ - GPL OpenSource
palmboxer.sourceforge.net) to display color PNG and GIF files on
grayscale palms.

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

Reply via email to