diff --git a/src/decoder/mod.rs b/src/decoder/mod.rs index 90c2b80..2b8b0dd 100644 --- a/src/decoder/mod.rs +++ b/src/decoder/mod.rs @@ -894,6 +894,7 @@ impl Decoder { self.get_tag(tag)?.into_string() } + /// Returns an iterator over all tags in the current image, along with their values. pub fn tag_iter(&mut self) -> impl Iterator> + '_ { self.image.ifd.as_ref().unwrap().iter().map(|(tag, entry)| { entry