Implemented basic tiff encoding
This commit is contained in:
1 parent
80be60dfd4
commit
fb30648c12
4 files changed
+363
No files matched your search
@@ -26,6 +26,12 @@ macro_rules! tags {
|
||||
Tag::Unknown(n)
|
||||
}
|
||||
}
|
||||
pub fn to_u16(&self) -> u16 {
|
||||
match self {
|
||||
$( Tag::$tag => $val, )*
|
||||
Tag::Unknown(n) => *n,
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user