Expand description
§News
0.5.5 (2022-10-22)
Value::as_uintandError::UnexpectedValuehave been added.
0.5.4 (2021-03-26)
- WebP format support has been added.
0.5.3 (2021-01-05)
- An infinite loop in reading PNG files has been fixed.
- PNG reader now handles
std::io::ErrorKind::Interruptedcorrectly.
0.5.2 (2020-08-07)
- PNG format support has been added.
- DCF (Design rule for Camera File system) 2.0 tags have been added.
0.5.1 (2020-02-15)
- Exif 2.32 tags have been added.
0.5 (2020-01-26)
- Support for HEIF has been added.
Exifhas been separated fromReader.Error::descriptionhas been removed because it has been soft-deprecated.
0.4 (2019-12-22)
- Support for displaying values with units has been added.
- Rust 1.40 or later is required.
- The deprecated
tagmodule has been removed. - Support for reading up to 8 IFDs has been added.
- Enums
ContextandErrorare now non_exhaustive. ValueandFieldno longer borrows the raw buffer.- Struct
Inhas been added to indicate primary/thumbnail images. Reader::fieldsnow returns an iterator.- The associated value of
Value::UndefinedandValue::Asciihas been changed from a slice to aVec.
0.3.1 (2018-06-17)
- IFDs other than 0th and 1st are ignored for now.
0.3 (2017-10-22)
- Enum
Errornow has two new variants:TooBigandNotSupported. Value::Undefinednow has the 2nd member to keep the offset of the value.- Struct
DateTimenow has two new fields:nanosecondandtime_offset. - The tag constants have been changed to associated constants of
struct
Tag. UseTag::TagNameinstead oftag::TagName.
0.2.3 (2017-07-16)
- Experimental support for writing Exif data has been added.
- The
Hashtrait has been derived forTagandContext. Reader::get_valueandValue::iter_uinthave been added.
0.2.2 (2017-06-17)
- The
std::fmt::Displaytrait has been implemented forRational,SRational, andDateTime. - The
CopyandClonetraits have been derived forRationalandSRational. - Converters from
Rational/SRationaltof64/f32have been added.Rational::to_f64andSRational::to_f64.From<Rational>andFrom<SRational>traits forf64andf32.
- Human readable printing of a
Valuehas been supported. TheValue::display_asmethod returns an object that implements theDisplaytrait. - The
Value::get_uintmethod has been added.
0.2.1 (2017-03-27)
- A typo in the documentation has been fixed.
0.2 (2017-03-26)
- The
CopyandClonetraits have been derived forTag. - The
Tag::default_valuefunction has been added. - DateTime parser has been added.
- A new variant
Error::BlankValuehas been added. - Rust 1.15 is now required to compile.
- The
Reader::fieldsmethod now returns a slice instead of a reference to aVec. - The
parse_imagefunction has been removed. - The
Tag::valuemethod was renamed toTag::number.
0.1.3 (2017-03-12)
- Constants for the new tags in Exif 2.31 have been added.
- An ASCII field with zero count 0 is parsed to an empty Vec.
TagandContextare no longer re-exported.
0.1.2 (2017-02-25)
- Struct
Readerhas been added. - The
parse_imagefunction has been deperecated.
0.1.1 (2017-01-12)
- The
parse_imagefunction has been added.
0.1 (2016-12-30)
- The first public version.