apache / apache/cordova-plugin-camera

Heic images with wrong orientation

Open
#860 1 comment 1 reaction 0 assignees View on GitHub
Dominant language
Objective-C
Stars
976
Forks
1.6k
PR merge metrics
No merged PRs in 30d

Description

Hello, I'm trying to get an image in Heic format from the gallery, the problem is that it's coming horizontally, and I'm not able to change it with any crop lib.
This image should be vertical and not horizontal, in the gallery this image is vertical and not horizontal. Other images are coming with their correct orientation.
How to solve ?
![Screenshot_20231009_152856_Sprylife](https://github.com/apache/cordova-plugin-camera/assets/72321264/36b4a69d-688d-49da-ad73-fa5071a3c4a0)
![Screenshot_20231009_152903_Sprylife](https://github.com/apache/cordova-plugin-camera/assets/72321264/5e852e69-8258-4642-99d8-aad056f3cb5f)
Other

Contributor guide

Open the contributing guide

Research direction

No file, test, or entry point is named in the report. Reproduce the HEIC gallery-selection case and trace the camera plugin's image-orientation handling; done means the affected image is returned with the same vertical orientation as in the gallery without breaking other images.

Written by the indexing model from the issue text.

Assessment

Domain
mobile
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.