Skip to content

Exif orientation support broken with iOS 13.4.1 and Safari 13.1 Desktop #52

Closed
@ssmithereens

Description

In iOS 13.4.1 (released a few days ago) as well as Safari 13.1 desktop, the EXIF orientation value is no longer being handled properly, and the compressed image that is output will not have the correct orientation.

The easiest way to reproduce this is to go to the demo site https://donaldcwl.github.io/browser-image-compression/example/basic.html using a Safari or Chrome browser on a device running iOS 13.4.1 and attempt to upload the attached image. This image has orientation EXIF value of 3 (rotated 180 degrees).

The demo page will return the image rendered upside down. However, the same image on a device not running iOS 13.4.1 will return the image rendered with the proper orientation.

IMG_2119

ios 13 3

ios 13 4 1

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions