exif-py icon indicating copy to clipboard operation
exif-py copied to clipboard

can't extract GPS tag from tiff

Open rosyfancy opened this issue 6 years ago • 1 comments

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]))

rosyfancy avatar Mar 21 '18 14:03 rosyfancy

is this a geotiff?

manand881 avatar Jan 20 '22 17:01 manand881