This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
### Keybase proof | |
I hereby claim: | |
* I am pixies on github. | |
* I am pixies (https://keybase.io/pixies) on keybase. | |
* I have a public key ASBeFmBsQ4uUV1Sn2yQnslGSVriABiRhjwYh3pmQIy_xkQo | |
To claim this, I am signing this object: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# -*- coding: latin1 -*- | |
""" | |
Codigo para colocar uma imagem na orientacao correta. | |
""" | |
from PIL import Image | |
from PIL.ExifTags import TAGS | |
def get_exif(img): | |
info_exif = {} |