Merge pull request #352 from image-rs/iterate-over-raw-tiff-or-exif

Open a Tiff without interpreting the first directory
This commit is contained in:
Aurelia Molzer authored and GitHub committed 2026-03-06 08:34:19 +00:00
commit 0ad653433a
16 files changed
+210 -135

No files matched your search

+2 -1
View File
@@ -109,7 +109,8 @@ fn encode_decode_with_compression(compression: Compression) {
// Decode tiff
data.set_position(0);
{
let mut decoder = Decoder::new(data).unwrap();
let mut decoder = Decoder::open(data).unwrap();
decoder.next_image().unwrap();
// Check the RGB image
assert_eq!(