+ 3
How to print width and height of an image using structs packing and unpacking?
2 Respostas
+ 1
ill try this..thanks
0
Are you talking about using this syntax with image data?
n = struct.unpack('<q', struct.pack('<d', x))[0]
(copied from one of my private codes that is not processing images, but something else)