You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Notice that the image entirely fits into the crop rectangle on the scale tab.
Notice that the scale “display” percent is not 100% .
When you save this image, it is saved in original dimension 2000x2000.
While the image is saved in correct dimension, displayed scale percent might be confusing to end-users as it gives an impression that the image is likely scaled down, the scale "display" text not being 100%.
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?
uCrop v2.2.5
The text was updated successfully, but these errors were encountered:
@ashiagr , thank you for the PR. Sorry for such a huge delay in response. I reviewed your code and found one place for improvement. It is better not to show the fractional part in scaleView at all. Due to the floating-point calculations, it is possible to scale to 99.99% sometimes which seems to be a bug. I would suggest using Math.round() and showing only the resulting integer value as a scale.
Do you want to request a feature or report a bug?
bug
What is the current behavior?
The scale “display” text currently appears misleading.
What is the expected behavior?
The scale text should ideally display the scale in which the image is going to be saved.
Steps to reproduce
While the image is saved in correct dimension, displayed scale percent might be confusing to end-users as it gives an impression that the image is likely scaled down, the scale "display" text not being 100%.
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?
uCrop v2.2.5
The text was updated successfully, but these errors were encountered: