File tree Expand file tree Collapse file tree 3 files changed +14
-1
lines changed
Expand file tree Collapse file tree 3 files changed +14
-1
lines changed Original file line number Diff line number Diff line change 1+ # Version 0.10.2
2+
3+ Republished 0.10.1, fixing an accidentally removed method (` Decoder::find_tag_unsigned_vec ` ).
4+
15# Version 0.10.1
26
37New features:
Original file line number Diff line number Diff line change 11[package ]
22name = " tiff"
3- version = " 0.10.1 "
3+ version = " 0.10.2 "
44edition = " 2021"
55resolver = " 2"
66
Original file line number Diff line number Diff line change @@ -1281,6 +1281,15 @@ impl<R: Read + Seek> Decoder<R> {
12811281 self . image_ifd ( ) . find_tag_unsigned ( tag)
12821282 }
12831283
1284+ /// Tries to retrieve a vector of all a tag's values and convert them to the desired unsigned
1285+ /// type.
1286+ pub fn find_tag_unsigned_vec < T : TryFrom < u64 > > (
1287+ & mut self ,
1288+ tag : Tag ,
1289+ ) -> TiffResult < Option < Vec < T > > > {
1290+ self . image_ifd ( ) . find_tag_unsigned_vec ( tag)
1291+ }
1292+
12841293 /// Tries to retrieve a tag from the current image directory and convert it to the desired
12851294 /// unsigned type. Returns an error if the tag is not present.
12861295 pub fn get_tag_unsigned < T : TryFrom < u64 > > ( & mut self , tag : Tag ) -> TiffResult < T > {
You can’t perform that action at this time.
0 commit comments