> Cole wrote:
> >I'm about to whip up a little MIAW util to convert a bunch of 
> >bitmap members from 32 to 16 bit. If possible, I'd like to 
> >avoid off white being rounded to pure.

> Howdy-Tzi wrote:
> However he also points out that there is no RGB ( 255, 255, 255 ) 
> in 16-bit color; the highest white value is actually
> rgb ( 248, 248, 248 )

You might have to do a per pixel check to find values higher than 248,
248, 248 and bring them down a step. That would be slow, but probably
necessary. Maybe the undoc'd flood function could be used to replace
colors? Or does that only fill a group of pixels. Another idea is you
could do a copypixels of a one pixel rgb ( 240, 240, 240 ) image
stretched over your 32 bit image with the #darkest ink... then replace
pure rgb ( 240, 240, 240 ) pixels with rgb ( 255, 255, 255 ) and dither
down...Just ideas. I hope they help.


-Rob Walch
[EMAIL PROTECTED]
http://www.entermation.com
http://www.animepass.com

[To remove yourself from this list, or to change to digest mode, go to 
http://www.penworks.com/lingo-l.cgi  To post messages to the list, email 
[EMAIL PROTECTED]  (Problems, email [EMAIL PROTECTED]). Lingo-L is for 
learning and helping with programming Lingo.  Thanks!]

Reply via email to