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 1/2] 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 76bdeea6..59cd3551 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 { From 756ea3e813fd82e793daebeffe031651ebf521a5 Mon Sep 17 00:00:00 2001 From: Aurelia Molzer <5550310+197g@users.noreply.github.com> Date: Tue, 26 Aug 2025 11:24:04 +0200 Subject: [PATCH 2/2] Add metadata for 0.10.2 --- CHANGES.md | 4 ++++ Cargo.toml | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/CHANGES.md b/CHANGES.md index 5f777e11..5233da1c 100644 --- a/CHANGES.md +++ b/CHANGES.md @@ -1,3 +1,7 @@ +# Version 0.10.2 + +Republished 0.10.1, fixing an accidentally removed method (`Decoder::find_tag_unsigned_vec`). + # Version 0.10.1 New features: diff --git a/Cargo.toml b/Cargo.toml index 30069517..d61ef4f8 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "tiff" -version = "0.10.1" +version = "0.10.2" edition = "2021" resolver = "2"