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’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Each rotation decrease the quality of the image a little bit #12

Open
ggunti opened this issue Aug 30, 2018 · 0 comments
Open

Each rotation decrease the quality of the image a little bit #12

ggunti opened this issue Aug 30, 2018 · 0 comments

Comments

@ggunti
Copy link
Contributor

ggunti commented Aug 30, 2018

OS: Android 6
RN version: 0.55.4
react-native-image-rotate version: 2.1.0

HOW TO REPRODUCE IT?:
Rotate an image. Then rotate the returned image. Then rotate the newly returned image.... Do this let's say 50-100 times. The idea is to rotate again and again the newly returned image.

WHAT WE EXPECT?:
So, after 50-100 rotations we still should get the original image (same quality - eventually rotated).

WHAT ACTUALLY HAPPEN?:
After 50-100 rotations the image quality is very-very low, which means that this library do not keep the quality of the image while rotating (every rotation decrease the quality a little bit). For < 10 rotations it is not very visible with human eye.

EXAMPLE
Original image:
img1
After many rotations (around 50):
img2

Note: I didn't try it on iOS, only on Android.

@ggunti ggunti changed the title Every rotation decrease the quality of the image a little bit Each rotation decrease the quality of the image a little bit Oct 21, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant