Yalantis / uCrop

Image Cropping Library for Android
https://yalantis.com/blog/introducing-ucrop-our-own-image-cropping-library-for-android/
11.85k stars 2.15k forks source link

HEIC image with rotation doesn't display correctly #849

Open zhangchf opened 2 years ago

zhangchf commented 2 years ago

Do you want to request a feature or report a bug? report a bug

What is the current behavior? I have a HEIC image, whose orientation is 6 (90 degree CCW), after display in UCropView, it's rotated. image

Original image Display in UCropView
image image

What is the expected behavior? It's not rotated, like shown in Gallery.

If the current behavior is a bug, please provide the steps to reproduce and if possible a minimal demo of the problem. Just load the image in the attached zip.

Please attach any image files, URL and stack trace that can be used to reproduce the bug. IMG_1236 (1).HEIC.zip

Which versions of uCrop, and which Android API versions are affected by this issue? Did this work in previous versions of uCrop? uCrop 2.2.6, didn't try previous version.

Krushikar commented 10 months ago

It's happening to me also It's a bug implementation 'com.github.yalantis:ucrop:2.2.8-native'