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
eba51f05c7
Check if a child IFD pointer is an unsigned integer.
2017-07-27 20:42:29 +09:00
KAMADA Ken'ichi
51bfc6b21f
Align the offset handling of unknown types with the doc comment.
2017-07-26 23:27:48 +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
8f2ece2b01
Implement std::fmt::Display trait for DateTime.
2017-06-17 21:43:59 +09:00
KAMADA Ken'ichi
81b5efa7aa
Cleanup imports and require Rust 1.15.
2017-03-24 23:09:22 +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
61d78aa197
Test parsing an unknown field.
2017-03-14 21:53:48 +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
bd5fa39ba9
Clarify the error messages on truncated IFDs.
2017-03-12 19:09:02 +09:00
KAMADA Ken'ichi
b075a27d4e
Change Tiff to TIFF in a comment.
2017-01-12 22:01:47 +09:00
KAMADA Ken'ichi
00c369e092
Fix a typo.
2017-01-12 21:52:31 +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
5d9190304f
Return the little-endian flag from parse_exif().
2016-12-17 00:30:46 +09:00
KAMADA Ken'ichi
5cb98a8f1b
Allow Exif and other IFDs in the thumbnail image.
...
The Exif specfication allows Exif/GPS/Interoperability IFDs in the
thumbnail image (1st IFD) as well as in the primary one (0th IFD).
Do not define separate sets of tag constants for primary and thumbnail
images because it doubles the number of constants. Instead, add a
flag in struct Field to distinguish them.
2016-12-12 21:27:35 +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
6f9be2c2a9
Return a usize for the unit length from get_type_info().
2016-11-03 18:51:54 +09:00
KAMADA Ken'ichi
0e9512472c
Parse TIFF IFD structure.
2016-10-26 22:46:20 +09:00