Open deepushajia opened 7 months ago
Actual Image
Rotateed Image
Notice the difference in pixelation along the edges.
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.
Actual Image
Rotateed Image
Notice the difference in pixelation along the edges.