cloudinary / cloudinary/cloudinary_android

exif tags not honored when applying image preprocessing chain

Offen
#99 7 Kommentare 0 Reaktionen 1 zugewiesene Person Beansprucht von @nitzanj Auf GitHub ansehen
bug
Vorherrschende Sprache
Java
Sterne
68
Forks
60
PR-Merge-Kennzahlen
Keine gemergten PRs in 30 T.

Beschreibung

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

Beitragsleitfaden

Für dieses Repository ist kein Beitragsleitfaden indexiert

Bewertung

Dieses Issue wurde noch nicht bewertet.

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.