catdad-experiments / catdad-experiments/heic-convert

Wrong image rotation/orientation applied to output

Open
#23 8 comments 0 reactions 0 assignees View on GitHub
question
Dominant language
JavaScript
Stars
320
Forks
36
PR merge metrics
No merged PRs in 30d

Description

Hi,

converting a HEIC image shot on an iPhone 13 to either a JPEG or PNG results into the image being flipped (wrongly rotated) for some images.
Looking at the EXIF data of the converted JPEG it looks like it just sets the orientation to 3 for every image.

![image](https://user-images.githubusercontent.com/14013321/190413561-cf85a1c0-7112-4e73-b224-c22e6f0c2ede.png)

I'll also attach the test HEIC file if you want to debug it (it's zipped because Github does not allow HEIC files)

[heic.heic.zip](https://github.com/catdad-experiments/heic-convert/files/9575534/heic.heic.zip)

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.