Python Get DPI de l'image

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