Skip to content

Instantly share code, notes, and snippets.

### 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:
@pixies
pixies / assert_rotation_image.py
Created November 9, 2017 15:32 — forked from sxslex/assert_rotation_image.py
assert_rotation_image
# -*- 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 = {}