We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Hello,
at first thanks for this library!!!
But i have little problem with some images. I wrote a script to add EXIF-Tags with GPS to Images which don't have any. This works ok as far i can see
part of script:
img = Image.open(os.path.join('pictures', filename)) exf = img._getexif() exf[0]['GPSLatitude'] = lpi[2] exf[0]['GPSLongitude'] = lpi[1] exf[0]['GPSAltitude'] = 0.00 exf[1]['GPSLatitude'] = lpi[2] exf[1]['GPSLongitude'] = lpi[1] exf[1]['GPSAltitude'] = 0.00 img.save(os.path.join('tagged', 'tagged_' + filename), ifd=exf)
but jpg.exif.dump_location doesnt create images of location. For any photo taken with my Iphone which adds GPS-Tags automatically it works.
jpg.exif.dump_location
What did i miss??
Thanks Peter
The text was updated successfully, but these errors were encountered:
Hello Peter,
exf[0]['GPSLatitude'] = exf[0]['GPSLatitudeRef'] = lpi[2] exf[0]['GPSLongitude'] = exf[0]['GPSLongitudeRef'] = lpi[2] exf[0]['GPSAltitude'] = 0.00
No need to do it with exf[1] that is JPEG thumbnail actually
thanks for using my lib
Sorry, something went wrong.
thanks! Now it's working:)
No branches or pull requests
Hello,
at first thanks for this library!!!
But i have little problem with some images. I wrote a script to add EXIF-Tags with GPS to Images which don't have any. This works ok as far i can see
part of script:
but
jpg.exif.dump_location
doesnt create images of location. For any photo taken with my Iphone which adds GPS-Tags automatically it works.What did i miss??
Thanks
Peter
The text was updated successfully, but these errors were encountered: