Yalantis/uCrop

Why image scaled down?

Open

#216 geöffnet am 27. Okt. 2016

Auf GitHub ansehen
 (11 Kommentare) (3 Reaktionen) (0 zugewiesene Personen)Java (2.134 Forks)batch import
help wanted

Repository-Metriken

Stars
 (11.748 Stars)
PR-Merge-Metriken
 (Keine gemergten PRs in 30 T)

Beschreibung

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

Contributor Guide