Martijn Janssen wrote

> cool!
> thanks, I tested the get/setpixels and indeed it was way too slow...
> Thanks for the help!!


Incidentally, if you did want to use get/SetPixels, you can desaturate the
colours like this

   colour = buffer.getPixel(x,y)
   desatValue = (76*colour.red + 150*colour.green + 29*colour.blue)/256
   buffer.setPixel(x, y, RGB(desatValue, desatValue, desatValue))

Though, as others have pointed out, you can create a similar effect much
more quickly by remapping the image to Director's #grayscale palette.

Luke

[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