Skip to content

HEIF images from selfie cam are shown upside down #1785

@leahneukirchen

Description

@leahneukirchen

Apple phones takes photos in HEIF format, which supports internal rotation.

Find an example attached (gzipped due to GitHub nonsense) with this transform:

transformations:
  angle (ccw): 90
  mirror: vertical

When this picture is sent to a Zulip Flutter client (Android, version 30.0.262), it renders correctly in the preview, but upon clicking it for zoom it shows it upside down. I assume this is because the flag is either ignored or applied twice.

image_43C5969D-384A-40A5-9170-6287B3248972_1754406014.heic.gz

Metadata

Metadata

Labels

a-AndroidIssues specific to Android, or requiring Android-specific worka-iOSIssues specific to iOS, or requiring iOS-specific worka-lightboxThe lightbox / image-viewer screenupstreamWould benefit from work in Flutter or another upstream

Type

No type

Projects

Status

Done

Relationships

None yet

Development

No branches or pull requests

Issue actions