Message from Python discussions

December 2018

— Hm

— 

from PIL import Image
import piexif
image = Image.open("IMG_20181118_210156_922.jpg")
exif = piexif.load(image.info["exif"])
print(exif["0th"]["0x9c9e"])

My code

— True, becuz not all floating point numbers can be expressed in binary

— Can you dump whole exif on something like pastebin?

— 

{'0th': {34665: 2110, 40094: (74, 4, 59, 0, 116, 0, 101, 0, 115, 0, 116, 0, 0, 0)}, 'Exif': {}, 'GPS': {}, 'Interop': {}, '1st': {}, 'thumbnail': None}

Message permanent page

— It's not that long

— That key ["0x9c9e"]

— I fixed that already, still nothing

— Can you try it with a picture taken on some legit device? Like a camera?

— Uh-uh, lemme check that

— {'0th': {271: b'LeMobile', 272: b'X527', 282: (72, 1), 283: (72, 1), 296: 2, 305: b's2-user 6.0.1 IIXOSOP5801910121S 44 release-keys', 306: b'2018:08:15 12:22:06', 531: 1, 34665: 236, 34853: 720},

Message permanent page

— Worked fine on picture of my cat shot with my phone camera