Python Get DPI de imagen
from PIL import Image
im = Image.open("path/to/image")
im.info['dpi']
wolf-like_hunter
from PIL import Image
im = Image.open("path/to/image")
im.info['dpi']