Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- struct.pack converts Python numbers into a representation of a C bynary data. <QIIHHHH is the format specification, where < means little-endian, H stands for unsigned-short int, and I is an unsigned int. Q is an unsigned long long.
- QtGui.QMovie(QtCore.QBuffer(QtCore.QByteArray(data)).open(QtCore.QIODevice.ReadOnly), 'GIF')
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement