Make decoding internally operate on byte buffers (#230)

This commit is contained in:
Jonathan Behrens authored and GitHub committed 2024-07-22 20:13:39 -07:00
1 parent 307cd8be97
commit 6dc7a266d3
4 files changed
+229 -271

No files matched your search

+2
View File
@@ -165,6 +165,7 @@ pub enum TiffUnsupportedError {
UnsupportedDataType,
UnsupportedInterpretation(PhotometricInterpretation),
UnsupportedJpegFeature(UnsupportedFeature),
MisalignedTileBoundaries,
}
impl fmt::Display for TiffUnsupportedError {
@@ -223,6 +224,7 @@ impl fmt::Display for TiffUnsupportedError {
UnsupportedJpegFeature(ref unsupported_feature) => {
write!(fmt, "Unsupported JPEG feature {:?}", unsupported_feature)
}
MisalignedTileBoundaries => write!(fmt, "Tile rows are not aligned to byte boundaries"),
}
}
}