summaryrefslogtreecommitdiff
path: root/examples/small.rs
diff options
context:
space:
mode:
Diffstat (limited to 'examples/small.rs')
-rw-r--r--examples/small.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/small.rs b/examples/small.rs
index e6af172..fd86cb6 100644
--- a/examples/small.rs
+++ b/examples/small.rs
@@ -1,5 +1,5 @@
fn main() {
- let mut data = &include_bytes!("small.png")[..];
+ let mut data = &include_bytes!("../test/small_rgb.png")[..];
let header = tiny_png::read_png_header(&mut data).unwrap();
let mut buf = vec![0; header.required_bytes()];
let result = tiny_png::read_png(&mut data, Some(&header), &mut buf);