When using the draw appearance my images are not getting a orientation tag it seems. I have a script that reads the photo orientation and it is stopping on these images from 123.
if hasattr(image, '_getexif'):
orientation = image._getexif().get(274, 1) # 274 = Orientation
else:
orientation = 1
in fill_page_with_image
orientation = image._getexif().get(274, 1) # 274 = Orientation
AttributeError: 'NoneType' object has no attribute 'get'
Anyone seen this before?
Thanks