From 515bf125593f4259dc558baf0523402a1d212b9b Mon Sep 17 00:00:00 2001 From: pommicket Date: Mon, 4 Sep 2023 00:32:49 -0400 Subject: fixed huffman tables --- examples/small.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'examples/small.rs') 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); -- cgit v1.2.3