+ 3

How to print width and height of an image using structs packing and unpacking?

7th Jun 2018, 4:20 PM
AISHWARYA KASTHALA
AISHWARYA KASTHALA - avatar
2 odpowiedzi
+ 1
ill try this..thanks
7th Jun 2018, 4:41 PM
AISHWARYA KASTHALA
AISHWARYA KASTHALA - avatar
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)
7th Jun 2018, 4:40 PM
Kirk Schafer
Kirk Schafer - avatar