On Jun 11, 2006, at 8:25 AM, Emile Schwarz wrote:
Hi all,
// Set the "new" color...
TargetClr = cmy(0,PixelClr.Cyan,0) // Can be Magenta or Yellow
// ...and place it in the Target Picture
TargetSurf.Pixel(IndexX,IndexY) = TargetClr
Would a lookup table of 256 Cyan colors speed things up? You would
need to do 256 calls to cmy to initialize the table, but if you are
changing a lot more than 256 pixels it might be a speedup.
You will still be stuck with the call to PixelClr.Cyan though.
I hope that helps.
Cheers,
Malcolm Smith
_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>
Search the archives of this list here:
<http://support.realsoftware.com/listarchives/lists.html>