Christopher Barker wrote: > Paul McNett wrote: >> I was layed up for a few hours in the hospital just now, > > I hope you're well! > >> and I fixed FC using your >> premise of iterating through the colors until one works. For 16-bit, it is >> approximately every 8 cycles (but not exactly). > > you might want to just skip every eight, and then test...
I thought about that, but the code starts looking messy. I don't think testing one pixel in a (1,1) bitmap 8 times will add significant processing... >> Now I'm going to test on each platform, and submit a patch. Where do you >> want it? >> This list? Trac? > > This list would be good. Okay, I'm finding it works fine on Linux using 8, 16, and 24 bit, and on Windows using 16, 24, and 32 bit, but on Mac it just hangs with the beachball. So... time to hack on Mac for a while! One thing I'm noticing on Mac is that wx.GetDisplayDepth() returns None. Paul _______________________________________________ FloatCanvas mailing list [email protected] http://mail.mithis.com/cgi-bin/mailman/listinfo/floatcanvas
