cloudinary / cloudinary/cloudinary_android

exif tags not honored when applying image preprocessing chain

未关闭
#99 7 条评论 0 个 reaction 已指派 1 人 已被 @nitzanj 认领 在 GitHub 查看
bug
主要语言
Java
星标
68
派生
60
PR 合并指标
30 天内没有已合并 PR

描述

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

贡献指南

这个仓库没有索引到贡献指南

评估

这个 Issue 还没有评估数据。

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。