ericnograles / browser-image-resizer

A tiny browser-based library to downscale and/or resize images using canvas
MIT License
98 stars 42 forks source link

EXIF Data from mobile photo libraries don't appear to be respected/understood #27

Closed ericnograles closed 4 years ago

ericnograles commented 4 years ago

Details

ericnograles commented 4 years ago

Root cause: https://stackoverflow.com/questions/57942150/file-upload-and-exif-in-mobile-safari

It appears that in "High Efficiency" mode on an iOS camera, EXIF data is stripped. Will just need to advise people of this.

ericnograles commented 4 years ago

Users will need to switch to "Most Compatible" for EXIF Data to carry over:

image

Aarbel commented 4 years ago

@ericnograles https://github.com/blueimp/JavaScript-Load-Image seems to manage it well.

Aarbel commented 4 years ago

Can you fix it on this lib ?

Aarbel commented 3 years ago

@ericnograles did you fixed it ?

Aarbel commented 2 years ago

@ericnograles sorry i have an auto reminder for this ticket, is the image oirentation supported now ?

ericnograles commented 2 years ago

@Aarbel It's now fixed thanks to the latest version of ExifReader! Please check v2.3.2 from NPM or JS CDN