Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

Image cropper doesn't save correct rotation when cropped #138

Closed
gtan14 opened this issue Nov 3, 2020 · 2 comments
Closed

Image cropper doesn't save correct rotation when cropped #138

gtan14 opened this issue Nov 3, 2020 · 2 comments
Labels

Comments

@gtan14
Copy link

gtan14 commented Nov 3, 2020

馃 Bug report

Describe the bug

When using image cropper, rotating the image -90 degrees more than once saves as just -90 in the rotation when cropped.

Minimal Reproduction

  1. Implement Image Cropper code
  2. Rotate image twice
  3. Crop
  4. View ImgCropperEvent in onCropped event
  5. Shows as -90 / 90 even when rotated multiple times

Which versions of Angular, Alyle UI, OS, TypeScript, browsers are affected?

Alyle UI Version:
10.3.0

Angular Version:
9.1.0

@Enlcxx Enlcxx added the bug label Nov 4, 2020
@Enlcxx
Copy link
Member

Enlcxx commented Nov 4, 2020

Yes, it is a bug, it should show the degrees the image was rotated and not the last rotation performed.
There are also problems with the type, scale, size & name. Those properties are not available when cropping.
Related: #102

@Enlcxx Enlcxx closed this as completed in aab805e Nov 7, 2020
@gtan14
Copy link
Author

gtan14 commented Nov 8, 2020

Thanks for fixing!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants