This commit is contained in:
YK committed 2024-07-05 16:32:16 +03:00
1 parent 3904ae05cf
commit 470273d387
2 files changed
+8

No files matched your search

Binary file not shown.

After

Width:  |  Height:  |  Size: 250 KiB

+8
View File
@@ -199,4 +199,12 @@ mod test {
rgb.save_with_format("out/edgecase.jpg", imageproc::image::ImageFormat::Jpeg).unwrap();
}
#[test]
fn dice_generic() {
let file = std::fs::read("in/dice.qoi").unwrap();
let rgba: RgbaImage = decode(&file).unwrap();
rgba.save("out/dice_generic.png").unwrap();
}
}