tips on reducing flicker?
"Alec Bennett" <[email protected]> Sat, 10 May 2008 16:13:50 -0700
| Newsgroups | gmane.comp.python.pythoncard |
|---|---|
| Message-ID | <[email protected]> |
I have a PythonCard app that creates collages from a directory of pictures. It makes a show of the process, displaying each picture as its added, about two per second, full screen. My problem is that every time a new picture is added, the whole screen flickers. This isn't really that surprising consdiering the way I'm doing it: the new image gets pasted onto a fresh canvas and then the old image (the previous frame) gets swapped out for the new image (the current frame). When this image swap happens the screen flickers a little bit, but since it happens twice per second its very distracting. Can anyone think of a way to reduce this flicker? In wx I could set something like self.SetBackgroundStyle(wx.BG_STYLE_CUSTOM), but not in PythonCard as far as I can tell? Or some other way to do this? Thanks for any tips. ------------------------------------------------------------------------- This SF.net email is sponsored by the 2008 JavaOne(SM) Conference Don't miss this year's exciting event. There's still time to save $100. Use priority code J8TL2D2. http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone _______________________________________________ Pythoncard-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/pythoncard-users