8 lines
168 B
Rust
8 lines
168 B
Rust
use image::DynamicImage;
|
|
#[test]
|
|
fn test_img() {
|
|
let mut img = image::DynamicImage::new_rgb8(10, 10);
|
|
img.invert();
|
|
let img2 = img.adjust_contrast(20.0);
|
|
}
|