Skip to content

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

Description

@ggunti

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions