This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author dinu_gherman
Recipients
Date 2004-02-21.17:09:08
SpamBayes Score
Marked as misclassified
Message-id
In-reply-to
Content
Logged In: YES 
user_id=12190

Also note that a using ''.join() as in the function I'm using below is 
much faster than repeated string concatenation as in 
videoreader.py:

def convertPixmapToARGB(pixmap, width, height):
    rowbytes = Qdoffs.GetPixRowBytes(pixmap)
    start = 0
    rv = []
    getBytes = Qdoffs.GetPixMapBytes
    for i in xrange(height):
        nextline = getBytes(pixmap, start, width*4)
        start = start + rowbytes
        rv.append(nextline)
    rv = ''.join(rv)
    return rv
History
Date User Action Args
2007-08-23 14:20:06adminlinkissue900949 messages
2007-08-23 14:20:06admincreate