From f8a80039c74332e2101a177ef3fde31ef2077224 Mon Sep 17 00:00:00 2001 From: Micha White Date: Thu, 15 Aug 2024 20:14:15 -0400 Subject: Lots a changes --- tvg/src/header.rs | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'tvg/src/header.rs') 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( -- cgit v1.2.3