diff options
| author | Micha White <botahamec@outlook.com> | 2024-08-15 20:14:15 -0400 |
|---|---|---|
| committer | Micha White <botahamec@outlook.com> | 2024-08-15 20:14:15 -0400 |
| commit | f8a80039c74332e2101a177ef3fde31ef2077224 (patch) | |
| tree | f887c96bf9879a28b7ce914ad96161f63ee83190 /tvg/src/header.rs | |
| parent | 488c7ed94b0662222fa0d825ab81b60b0b1e5d6c (diff) | |
Lots a changes
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>( |
