exif-py
exif-py copied to clipboard
can't extract GPS tag from tiff
i'm trying to extract GPS tag from a tiff image. The outcome contains all the information related to the main image, like image width, sample per pixel, etc. but no GPS tag. How to extract GPS info from the GPS tag, please?
The code below is what I used:
import exifread
f = open(r"image_000000.tiff", 'rb')
tags = exifread.process_file(f)
for tag in tags.keys():
print ("Key: %s, value %s" % (tag, tags[tag]))
is this a geotiff?