At 2:57 PM -0600 3/11/03, Howdy-Tzi wrote:

I'm trying to invert a 16 color indexed greyscale bitmap with imaging lingo. I thought this would be a no brainer.

I first tried copyPixels with #notcopy ink. This appears to work, but there seem to be subtle rounding errors. Also tried #reverse ink against black, with similar rounding errors.

Have you tried changing the depth to 8 bits and doing it again?

Not yet, but seems like the next logical step. I was hoping I wouldn't have to change the depth. But I'll drop in a little profiling code, to see how much it hurts. Might turn out to be faster than the pixel thing, for all I know(?).


--
Cole
[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