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
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
9dce2590c3
Change a comment on get_exif_attr() to a doc comment.
2016-12-30 23:22:13 +09:00
KAMADA Ken'ichi
2a0c4d9f61
Fix comments on Value variants.
2016-12-30 23:19:02 +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
5d9190304f
Return the little-endian flag from parse_exif().
2016-12-17 00:30:46 +09:00
KAMADA Ken'ichi
de37fa8f00
Test if a constant variable can be used in the match arm.
2016-12-14 22:08:51 +09:00
KAMADA Ken'ichi
e894654d68
Reduce the object size of the big match in get_tag_info().
2016-12-14 22:02:55 +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
05e5852918
Add constants for tags defined in the Exif specification.
2016-12-06 22:08:47 +09:00
KAMADA Ken'ichi
66c92e0441
Avoid repeating contexts in tag constants definition.
2016-12-06 22:05:43 +09:00
KAMADA Ken'ichi
d180bfbae8
Add Tag::description() and implement fmt::Display for Tag.
2016-11-24 22:23:05 +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
eaaad2418f
Parse DOUBLE fields.
2016-11-19 20:46:49 +09:00
KAMADA Ken'ichi
60b6455905
Parse FLOAT fields.
2016-11-19 20:43:41 +09:00
KAMADA Ken'ichi
2bb71cfefb
Parse SRATIONAL fields.
2016-11-19 20:28:17 +09:00
KAMADA Ken'ichi
0741492615
Parse SLONG fields.
2016-11-19 20:21:08 +09:00
KAMADA Ken'ichi
4acfa58e44
Parse SSHORT fields.
2016-11-19 20:16:49 +09:00
KAMADA Ken'ichi
2612b22d54
Parse UNDEFINED fields.
2016-11-19 20:10:12 +09:00
KAMADA Ken'ichi
471f9394c4
Parse SBYTE fields.
2016-11-17 21:32:17 +09:00
KAMADA Ken'ichi
3788c45482
Parse RATIONAL fields.
2016-11-17 21:14:07 +09:00
KAMADA Ken'ichi
e84675d5a7
Parse LONG fields.
2016-11-17 21:03:34 +09:00
KAMADA Ken'ichi
111a2fd34c
Test unitlen more.
2016-11-16 23:16:53 +09:00
KAMADA Ken'ichi
a8620a1ff6
Pre-allocate a Vec since the count of a TIFF field value is known.
2016-11-16 23:13:29 +09:00
KAMADA Ken'ichi
6225236870
Adjust parse_ascii() tester to match with others.
2016-11-04 22:11:57 +09:00
KAMADA Ken'ichi
b86c74856c
Test parse_short().
2016-11-03 19:52:18 +09:00
KAMADA Ken'ichi
8bff68fccc
Implement and test parse_byte().
2016-11-03 19:49:10 +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
6f9be2c2a9
Return a usize for the unit length from get_type_info().
2016-11-03 18:51:54 +09:00
KAMADA Ken'ichi
2940079ae9
Fix loadu16/32 so that they do not access invalid memory.
2016-10-28 05:37:39 +09:00
KAMADA Ken'ichi
f99eae06ca
Test parse_ascii().
2016-10-27 20:53:07 +09:00
KAMADA Ken'ichi
3df4f323d7
An ASCII field may contain multiple strings.
2016-10-27 20:48:38 +09:00
KAMADA Ken'ichi
0e9512472c
Parse TIFF IFD structure.
2016-10-26 22:46:20 +09:00
KAMADA Ken'ichi
1eb79a1614
Test jpeg::get_exif_attr().
2016-10-22 20:22:06 +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