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.

I get accurate results by reversing each pixel with set/getPixel, but this just feels slow. I can probably live with it, but thought I'd ask if anyone has run into this.

Any other ideas out there?

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