Skip to content

Image not getting rotated when it matches original image size #465

Closed

Description

@pablote

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

Bug

What is the current behavior?

If the user rotates an image by exactly 90 degrees, it then chooses the exact inverse aspect ratio (say the image was taken in 16:9, then choose 9:16), and the selection frame is chosen so that it fully selects the image, uCrop seems to be returning the original image, without respecting the user's rotation. This does not happen if the rotation drifts slightly from 90, or even if selection crops the image a bit.

What is the expected behavior?

I would expect that if a user only rotates an image, then uCrop should return a new rotated image. As I said earlier, this is already the case if the rotation is not exactly 90, or if the images gets cropped a bit.

uCrop 2.2.2
android 7.1.1

Activity

  1. p1nkydev commented on Mar 18, 2019

    @p1nkydev
    Contributor

    @pablote It will be fixed in the next release.

  2. jackyhieu1211-hn commented on May 11, 2020

    @jackyhieu1211-hn

    @p1nkydev
    Hello
    Has this problem been fixed?

  3. p1nkydev commented on May 11, 2020

    @p1nkydev
    Contributor

    @hieuseesaa Checked right now and yes, after rotation crop area is exactly like image's side.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions