On Jun 08, 2006, at 16:37 UTC, Emile Schwarz wrote: > In other words, inside two nested loops, I use RGBSurface.Pixel, get a > part of its cmy values and use only Cyan, Magenta or Yellow in the > replaced (still with RGBSurface.Pixel) pixel and assign the new color to > the image. That process is slow. > > Using RGBSurface.Transform works fine for Brightness / Darkness / Invert > and some other things, but I am in front of a wall for what I want to do > now.
You're right, .Transform can't do this sort of thing. But it's possible your code could be optimized a bit; for example, if you're accessing Picture.RGBSurface within the loop, it's most likely way slower than it needs to be. Why not post the loop and see if we can spot any ways to help? Best, - Joe -- Joe Strout -- [EMAIL PROTECTED] Verified Express, LLC "Making the Internet a Better Place" http://www.verex.com/ _______________________________________________ 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>
