11 Commits

Author SHA1 Message Date
zhanglitao c7b9929323 update libexif
Signed-off-by: zhanglitao <zhanglitao11@huawei.com>
2023-05-19 12:07:34 +08:00
zhang-xiaobo1997 abda991889 modify for vesion to 6.22
Signed-off-by: zhang-xiaobo1997 <tony.zhangxiaobo@huawei.com>
2022-04-27 16:40:59 +08:00
Marcus Meissner e79b96f8f0 added some canon tag names and subtag names 2021-09-19 14:17:38 +02:00
Marcus Meissner 2d3f0df748 adjust to latest tagname additions 2021-09-06 08:16:45 +02:00
Marcus Meissner 61f2bbdd4d update to follow the recent tag name additions 2021-09-03 10:46:53 +02:00
Crane e2ab744c78 bugfix: change 0xa000 tag name (#38)
According to DC-08-2012
FlashPixVersion shoule be  FlashpixVersion
2020-02-24 07:50:06 +01:00
Dan Fandrich 8adb170013 Add swap-byte-order.sh to test libexif's byte order conversion function.
This is accomplished by adding a feature to test-parse.c to switch the
byte order before dumping the EXIF output. Additionally, the MakerNote
values are now logged in the dump as well, in the same way as the
regular tags, to better catch regressions.

This new test uncovered a bug in the decoding of the
MNOTE_NIKON_TAG_FIRMWARE tag whose data should not be treated as being
endian-specific.
2018-11-01 15:09:09 +01:00
Dan Fandrich 6d1156c4fa Use exif_mnote_data_get_name in test-parse.c
This is analagous to exif_tag_get_name that is used for the regular
tags.
2018-10-31 15:11:51 +01:00
Dan Fandrich 81eb1a6386 Display unknown Canon MakerNote tag data in exif_mnote_data_get_value
Displaying an integer value is better than not displaying anything at
all, and makes Canon match the other supported MakerNote types.
2018-08-17 07:34:38 +02:00
Dan Fandrich fe15630dd5 Support signed types in some generic MakerNote formatters.
The unsigned types are now also formatted correctly as unsigned in a
number of them.
2018-08-17 07:34:28 +02:00
Dan Fandrich 5c93e6b4f0 Add a new parsing regression test.
This is intended as a fast check that all tags, including MakerNotes, can be
parsed.  It is not intended to replace the much more complete tests in
libexif-testsuite, but rather add some basic parsing test coverage without
having to download and configure a separate repository. As more tags are
identified and supported in the library in the future, the golden test files
will need to be updated to match.

The input files cover all four major MakerNote types supported by libexif and a
large proportion of the variants within those types.  The test files have had
their JPEG image data stripped out to make them smaller (which also makes them
noncompliant) but it's good enough for libexif to read the tags as well as some
other EXIF tools that don't care about the image.

Patch from Google.
2018-07-03 15:28:39 +02:00