Add basic support for planar configuration
This commit is contained in:
1 parent
0da9770916
commit
42feeba8da
5 files changed
+119
-11
No files matched your search
@@ -66,6 +66,7 @@ pub enum TiffFormatError {
|
||||
InvalidTagValueType(Tag),
|
||||
RequiredTagNotFound(Tag),
|
||||
UnknownPredictor(u16),
|
||||
UnknownPlanarConfiguration(u16),
|
||||
ByteExpected(Value),
|
||||
UnsignedIntegerExpected(Value),
|
||||
SignedIntegerExpected(Value),
|
||||
@@ -113,6 +114,9 @@ impl fmt::Display for TiffFormatError {
|
||||
UnknownPredictor(ref predictor) => {
|
||||
write!(fmt, "Unknown predictor “{}” encountered", predictor)
|
||||
}
|
||||
UnknownPlanarConfiguration(ref planar_config) => {
|
||||
write!(fmt, "Unknown planar configuration “{}” encountered", planar_config)
|
||||
}
|
||||
ByteExpected(ref val) => write!(fmt, "Expected byte, {:?} found.", val),
|
||||
UnsignedIntegerExpected(ref val) => {
|
||||
write!(fmt, "Expected unsigned integer, {:?} found.", val)
|
||||
|
||||
Reference in new issue
Block a user