From 0eead083f6a35f2877eabeafb9aeb40450cca3b1 Mon Sep 17 00:00:00 2001 From: Aurelia Molzer <5550310+197g@users.noreply.github.com> Date: Tue, 26 Aug 2025 11:19:35 +0200 Subject: [PATCH] Fix missing method on Decoder --- src/decoder/mod.rs | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/src/decoder/mod.rs b/src/decoder/mod.rs index 76bdeea..59cd355 100644 --- a/src/decoder/mod.rs +++ b/src/decoder/mod.rs @@ -1281,6 +1281,15 @@ impl Decoder { self.image_ifd().find_tag_unsigned(tag) } + /// Tries to retrieve a vector of all a tag's values and convert them to the desired unsigned + /// type. + pub fn find_tag_unsigned_vec>( + &mut self, + tag: Tag, + ) -> TiffResult>> { + self.image_ifd().find_tag_unsigned_vec(tag) + } + /// Tries to retrieve a tag from the current image directory and convert it to the desired /// unsigned type. Returns an error if the tag is not present. pub fn get_tag_unsigned>(&mut self, tag: Tag) -> TiffResult {