diff options
Diffstat (limited to 'tvg/src/header.rs')
| -rw-r--r-- | tvg/src/header.rs | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/tvg/src/header.rs b/tvg/src/header.rs index b3be494..d444f66 100644 --- a/tvg/src/header.rs +++ b/tvg/src/header.rs @@ -135,6 +135,14 @@ impl TvgHeader { pub fn color_count(&self) -> u32 { self.color_count } + + pub fn width(&self) -> u32 { + self.width + } + + pub fn height(&self) -> u32 { + self.height + } } fn read_unsigned_unit<R: Read>( |
