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

Noise added on image rotation. #170

Open
deepushajia opened this issue Apr 8, 2024 · 1 comment
Open

Noise added on image rotation. #170

deepushajia opened this issue Apr 8, 2024 · 1 comment

Comments

@deepushajia
Copy link

sma
Actual Image

output
Rotateed Image

Notice the difference in pixelation along the edges.

@deepushajia
Copy link
Author

use photon_rs::native::open_image;
use photon_rs::transform::rotate;

let img = open_image("img.jpg").expect("File should open");
let rotated_img = rotate(&img, 30);

This was the sample code used.

This was referenced May 22, 2024
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