how to specify repaint interval?

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • jazzaddict
    New Member
    • Sep 2008
    • 1

    how to specify repaint interval?

    Hi guys,

    I'm new to python and I'm learning to use python for media processing. I'm trying to come up with a loop check condition to repaint for every 1000 pixels processed so I can see the transitional effect by updating the window displaying the picture of my program. I'm not sure how should I specify the condition

    def refreshpix(pict ure):
    for p in (picture): <--how do I specify for every 1000pixels processed
    repaint(picture )
Working...