vince7lf / aerial_wildlife_detection

Tools for detecting wildlife in aerial images using active learning
MIT License
0 stars 0 forks source link

issue with uploading jpeg with EXIF GPS info #59

Open vince7lf opened 2 years ago

vince7lf commented 2 years ago

image loses it's EXIF and GPS data after being saved server side.

vince7lf commented 2 years ago

Refer to issue "Pillow not reading exif data from "old" photo" https://github.com/python-pillow/Pillow/issues/2944

there's a bug in Pillow. Perhaps Pillow should only read the first APP1 segment or otherwise only choose one.

Using latest version 9.2.0, no fixes.

vince7lf commented 2 years ago

Using Bottle API to save the picture instead of taking the image bytes only. tested and worked.