KAMADA Ken'ichi
da36010bb9
Update documentation.
2021-03-21 17:56:37 +09:00
KAMADA Ken'ichi
180ac576b7
Add more examples in the crate-level documentation.
2021-02-04 22:38:42 +09:00
KAMADA Ken'ichi
4da1e340fc
Move the upgrade guide into a separate module.
2021-01-24 19:40:04 +09:00
KAMADA Ken'ichi
f57a972e2d
Support Exif in WebP.
2020-12-14 21:12:19 +09:00
KAMADA Ken'ichi
6e3c37d591
Support Exif in PNG.
2020-08-03 22:57:50 +09:00
KAMADA Ken'ichi
b1dfc310e9
Update documentation and some strings.
2020-02-15 19:17:02 +09:00
KAMADA Ken'ichi
af94ad50b6
Use ? instead of .unwrap() in doctests.
2020-02-01 20:28:21 +09:00
KAMADA Ken'ichi
60c8e15b11
Update the documentation for version 0.5.
2020-01-26 23:12:47 +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
3e8ed54497
Update the documents for version 0.4.
2019-12-22 22:20:49 +09:00
KAMADA Ken'ichi
8825fcca62
Revert the type of Context back from struct to enum.
2019-12-22 20:31:44 +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
1bd083cbae
Do not reference the raw buffer from Value and Field.
...
Previously, they borrowed the buffer, so users had some difficulty to
manage the lifetime of the buffer and Value/Field. For example,
a user structure was unable to contain both the buffer and a Field.
2019-12-14 21:57:35 +09:00
KAMADA Ken'ichi
f81d2f6e6a
Change the type of Context from enum to struct.
2019-10-21 23:12:58 +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
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
eb4723a8a9
Migrate to Rust 2018.
2019-04-01 21:11:54 +09:00
KAMADA Ken'ichi
56106534cd
Remove the deprecated tag module.
2019-03-31 23:50:04 +09:00
KAMADA Ken'ichi
d882dce9a0
Update documentation and doc-tests.
2018-01-13 23:33:45 +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
1ad83d8a82
Add nanosecond and time_offset fields in struct DateTime.
2017-10-01 21:17:17 +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
aa41b66838
Reset the compatibility notes for version 0.3.
2017-07-18 22:36:27 +09:00
KAMADA Ken'ichi
73bced6cbf
Add an experimental Writer that encodes and writes Exif data.
2017-07-01 19:17:37 +09:00
KAMADA Ken'ichi
132c9e9d18
Implement the encoder for the field values.
2017-06-30 23:23:03 +09:00
KAMADA Ken'ichi
82a6b2ef7e
Fix the note on the rename of Tag.value().
2017-03-27 20:03:28 +09:00
KAMADA Ken'ichi
9001103c88
Add compatibility notes in the documentation.
2017-03-26 21:29:33 +09:00
KAMADA Ken'ichi
f11f3c306b
Remove parse_image().
2017-03-24 23:15:24 +09:00
KAMADA Ken'ichi
5600fb205f
Add DateTime parser.
...
This change introduces a new variant to Error and breaks the API
compatibility.
2017-03-24 22:57:38 +09:00
KAMADA Ken'ichi
e939ef7fd6
Do not re-export Content and Tag by hiding the real tag module.
2017-03-12 19:18:00 +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
ae70e71db6
Update the description of the library.
2017-03-05 08:18:53 +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
74cd3435b8
Update the example to use struct Reader instead of parse_image().
2017-02-24 20:48:38 +09:00
KAMADA Ken'ichi
1d5d9fdd38
Mark parse_image() deprecated.
2017-02-24 20:46:50 +09:00
KAMADA Ken'ichi
2893059568
Add struct Reader that wraps the low-level interfaces.
2017-02-22 23:00:25 +09:00
KAMADA Ken'ichi
906a25cb31
Add parse_image(), which accepts a JPEG or TIFF image.
2017-01-12 21:51:11 +09:00
KAMADA Ken'ichi
92a3c49bb2
Add an example to parse a JPEG file.
2016-12-18 23:38:11 +09:00
KAMADA Ken'ichi
6651b7d159
Parse IFD structures and record the context in Tag.
...
In the Exif specification, IFDs may be nested and chained.
The interpretation of a tag value depends on the IFD in which it
appears, so the context is added into Tag.
2016-11-23 19:06:38 +09:00
KAMADA Ken'ichi
2bb71cfefb
Parse SRATIONAL fields.
2016-11-19 20:28:17 +09:00
KAMADA Ken'ichi
3788c45482
Parse RATIONAL fields.
2016-11-17 21:14:07 +09:00
KAMADA Ken'ichi
4175aa5bc4
Test to ensure that usize can hold a 32-bit offset.
2016-11-03 18:58:32 +09:00
KAMADA Ken'ichi
0e9512472c
Parse TIFF IFD structure.
2016-10-26 22:46:20 +09:00
KAMADA Ken'ichi
a0621d2ebe
Test read8() and read16().
2016-10-09 09:11:10 +09:00
KAMADA Ken'ichi
e6e759af11
Extract Exif attribute information segment from a JPEG file.
2016-10-06 22:36:23 +09:00
KAMADA Ken'ichi
a7d79b3f01
Add a library template for an Exif library.
2016-09-04 23:31:06 +09:00