Added ability to decompress tiled jpeg files

This commit is contained in:
Alan Race committed 2022-04-27 14:05:41 +02:00
1 parent 9f2508e37e
commit 592405268e
3 files changed
+113 -19

No files matched your search

+5
View File
@@ -391,6 +391,10 @@ fn oom() {
match err {
tiff::TiffError::LimitsExceeded => {}
tiff::TiffError::UnsupportedError(tiff::TiffUnsupportedError::InterpretationWithBits(
_,
_,
)) => {}
unexpected => panic!("Unexpected error {}", unexpected),
}
}
@@ -452,6 +456,7 @@ fn invalid_jpeg_tag_2() {
match err {
TiffError::FormatError(TiffFormatError::InvalidTagValueType(tags::Tag::JPEGTables)) => {}
TiffError::LimitsExceeded => {}
unexpected => panic!("Unexpected error {}", unexpected),
}
}