Commit Graph

22 Commits

Author SHA1 Message Date
Michael Pfaff a6461ef7d5
Improve 2021-05-28 13:48:05 -04:00
KAMADA Ken'ichi 17344addcb Add a test file for little-endian data. 2021-05-04 21:42:26 +09:00
KAMADA Ken'ichi f57a972e2d Support Exif in WebP. 2020-12-14 21:12:19 +09:00
KAMADA Ken'ichi 386fb2cc8b Test exif.heic and exif.png in tests/rwrcmp.rs. 2020-11-21 20:01:08 +09:00
KAMADA Ken'ichi 6e3c37d591 Support Exif in PNG. 2020-08-03 22:57:50 +09:00
KAMADA Ken'ichi 1568e3151f Separate struct Exif from Reader. 2020-01-20 22:05:06 +09:00
KAMADA Ken'ichi 0e398cd63a Support reading the Exif data from the HEIF container. 2020-01-19 20:48:04 +09:00
KAMADA Ken'ichi 4276ed389b Change Reader::fields() to return an iterator instead of a slice. 2019-12-14 21:57:56 +09:00
KAMADA Ken'ichi 8a7049c9b3 Support writing the 2nd and further IFDs. 2019-06-02 23:16:18 +09:00
KAMADA Ken'ichi 8e9ff50ca8 Support reading up to 8 IFDs. 2019-05-08 23:09:03 +09:00
KAMADA Ken'ichi b9575efd0b Add struct In (IFD number) to indicate primary/thumbnail images. 2019-04-20 23:16:01 +09:00
KAMADA Ken'ichi 437b1a1750 Eliminate unnecessary use of format! macro.
- Use Display::to_string in tests for conciseness.
- panic! directly takes format!-like arguments.
2019-04-09 23:11:05 +09:00
KAMADA Ken'ichi 2ffa449d9d Support displaying a value with its unit.
- Field::display_value and DisplayValue::with_unit were introduced.
- The string "centimeter" was changed to "cm" for consistency
  with "m", "mm", and "km".
- F-number was changed to be prefixed by "f/" only when with_unit() is
  called, though it is actually not a unit.
2019-04-07 21:11:14 +09:00
KAMADA Ken'ichi 26a64361b3 Add `Tag::TagName`s and deprecate `tag::TagName`s. 2017-10-12 22:55:56 +09:00
KAMADA Ken'ichi 98cb8b914c Remove ImageWidth/Length from tests/exif.jpg for conformance to Exif. 2017-08-21 21:13:36 +09:00
KAMADA Ken'ichi 078bfcdc78 Add the 2nd member to Value::Undefined to keep the offset of the value. 2017-08-04 21:15:19 +09:00
KAMADA Ken'ichi a4f891ec25 Add Error::TooBig and NotSupported. 2017-07-18 22:42:45 +09:00
KAMADA Ken'ichi 8ffc5ced3f Add an example to read various fields. 2017-07-16 15:16:56 +09:00
KAMADA Ken'ichi caafd20aad Add tests/rwrcmp.rs to test Writer.
It reads Exif data, writes, re-reads, and compare the results.
2017-07-11 23:36:28 +09:00
KAMADA Ken'ichi 8d4d3d4df0 Parse a TIFF image as well as a JPEG in the main example. 2017-03-05 08:19:37 +09:00
KAMADA Ken'ichi a8bb533128 Move a platform test into a separate file. 2017-02-24 20:49:57 +09:00
KAMADA Ken'ichi 92a3c49bb2 Add an example to parse a JPEG file. 2016-12-18 23:38:11 +09:00