You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Trying to upload a jpg with exif info may lead to wrong crop (e.g., the drawn orientation is not the real one). This is easy to see cropping a portrait picture taken from a smartphone.
I did not read the full spec of exif, but I started to try to reimplement exif parsing in https://github.com/exif-js/exif-js with js_of_ocaml for using a canvas and properly handling metadata, but this is not working yet.
Trying to upload a jpg with exif info may lead to wrong crop (e.g., the drawn orientation is not the real one). This is easy to see cropping a portrait picture taken from a smartphone.
I did not read the full spec of exif, but I started to try to reimplement exif parsing in https://github.com/exif-js/exif-js with js_of_ocaml for using a canvas and properly handling metadata, but this is not working yet.
(You can see it at https://github.com/sagotch/ocsigen-toolkit/tree/picture-uploader-fixing).
Note: even my ubuntu file browser does not handle exif when previewing images.
Note 2: http://www.daveperrett.com/articles/2012/07/28/exif-orientation-handling-is-a-ghetto/
The text was updated successfully, but these errors were encountered: