Yalantis/uCrop

Why image scaled down?

Open

#216 创建于 2016年10月27日

在 GitHub 查看
 (11 评论) (3 反应) (0 负责人)Java (2,134 fork)batch import
help wanted

仓库指标

Star
 (11,748 star)
PR 合并指标
 (30 天内没有已合并 PR)

描述

I'm using aspect ratio 1:1. Input image 1037x1547, output image 519x519.(I did not zoom the image.) Result should be 1037x1037. Is this behaviour normal?

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

What is the current behavior? cropped image is scaled

What is the expected behavior? cropped image must not be scaled

If the current behavior is a bug, please provide the steps to reproduce and if possible a minimal demo of the problem. I used this code: UCrop.of(data.getData(), Uri.fromFile(new File(getContext().getCacheDir(), "ex_image"))) .withAspectRatio(1, 1) .start(getContext(), this);

Please attach any image files, URL and stack trace that can be used to reproduce the bug.

Which versions of uCrop, and which Android API versions are affected by this issue? Did this work in previous versions of uCrop? 2.2.0

贡献者指南