summaryrefslogtreecommitdiff
path: root/tvg/src/header.rs
diff options
context:
space:
mode:
authorMicha White <botahamec@outlook.com>2024-08-15 20:14:15 -0400
committerMicha White <botahamec@outlook.com>2024-08-15 20:14:15 -0400
commitf8a80039c74332e2101a177ef3fde31ef2077224 (patch)
treef887c96bf9879a28b7ce914ad96161f63ee83190 /tvg/src/header.rs
parent488c7ed94b0662222fa0d825ab81b60b0b1e5d6c (diff)
Lots a changes
Diffstat (limited to 'tvg/src/header.rs')
-rw-r--r--tvg/src/header.rs8
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>(