cloudinary / cloudinary/cloudinary_android
exif tags not honored when applying image preprocessing chain
Abierto
bug
- Lenguaje dominante
- Java
- Estrellas
- 68
- Forks
- 60
- Métricas de merge de PR
- Sin PR fusionados en 30 d
Descripción
It looks like `BitmapDecoder` used in `ImageProcessChain` does not rotate images with the included exif orientation tags on a photo. Not including any preprocessing chains for photo uploads resolves this issue.
A possible solution -> applying `Matrix#postRotate()` with a newly created bitmap during bitmap decoding (https://github.com/cloudinary/cloudinary_android/blob/master/lib/src/main/java/com/cloudinary/android/preprocess/BitmapDecoder.java#L82).
Device info:
Android 9
Pixel 2 emulator
SDK info:
1.26.0
Guía de contribución
No hay ninguna guía de contribución indexada para este repositorio
Evaluación
Este issue todavía no se ha evaluado.