Help | Site Map
Connecting Tech Pros Worldwide
Reply
 
LinkBack Thread Tools
  #1  
Old September 8th, 2008, 04:20 PM
Newbie
 
Join Date: Sep 2008
Posts: 1
Default 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(picture):
for p in (picture): <--how do I specify for every 1000pixels processed
repaint(picture)
Reply
Reply

Bookmarks

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are Off
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

What is Bytes?

We are a network of experts and professionals in IT and software development that help one another with answers to tough questions and share insights. Get the best answers to your questions from over network members.
Post your question now . . .
It's fast and it's free

Popular Articles