mirror of
https://github.com/GraphiteEditor/Graphite.git
synced 2026-09-30 06:18:12 +08:00
Add grayscale sample image for its node graph test
This commit is contained in:
@@ -181,7 +181,7 @@ mod test {
|
|||||||
let grayscale_picture = MapResultNode::new(&gray).after(image);
|
let grayscale_picture = MapResultNode::new(&gray).after(image);
|
||||||
let export = export_image_node();
|
let export = export_image_node();
|
||||||
|
|
||||||
let picture = grayscale_picture.eval("/home/dennis/screenshot.png").expect("failed to load image");
|
let picture = grayscale_picture.eval("test-image-1.png").expect("Failed to load image");
|
||||||
export.eval((picture, "/tmp/screenshot.png")).unwrap();
|
export.eval((picture, "test-image-1-result.png")).unwrap();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Binary file not shown.
|
After Width: | Height: | Size: 38 KiB |
Reference in New Issue
Block a user