From d0599f8ab5c38e14845407dea4eef4d4957f9e28 Mon Sep 17 00:00:00 2001 From: Tomas Bzatek Date: Thu, 27 Dec 2012 20:29:37 +0100 Subject: Support external EXIF metadata This brings an ability to specify external file to read EXIF/IPTC data from. The motivation was to work around RAW editors randomly stripping some EXIF blocks. --- sample/src/CIAF_1/exif/5l9a4978.exv | Bin 0 -> 44161 bytes sample/src/CIAF_1/img_1453b.jpg | 1 + sample/src/CIAF_1/index.xml | 13 +++++++++++++ 3 files changed, 14 insertions(+) create mode 100644 sample/src/CIAF_1/exif/5l9a4978.exv create mode 120000 sample/src/CIAF_1/img_1453b.jpg (limited to 'sample') diff --git a/sample/src/CIAF_1/exif/5l9a4978.exv b/sample/src/CIAF_1/exif/5l9a4978.exv new file mode 100644 index 0000000..f149f8c Binary files /dev/null and b/sample/src/CIAF_1/exif/5l9a4978.exv differ diff --git a/sample/src/CIAF_1/img_1453b.jpg b/sample/src/CIAF_1/img_1453b.jpg new file mode 120000 index 0000000..4b0b3c1 --- /dev/null +++ b/sample/src/CIAF_1/img_1453b.jpg @@ -0,0 +1 @@ +img_1453.jpg \ No newline at end of file diff --git a/sample/src/CIAF_1/index.xml b/sample/src/CIAF_1/index.xml index a73861e..9a00ad7 100644 --- a/sample/src/CIAF_1/index.xml +++ b/sample/src/CIAF_1/index.xml @@ -100,5 +100,18 @@ + + External EXIF metadata +
+ Photo editors and RAW workflow software usually strip big deal of metadata unknown to them. Things like camera makernote data are usually lost. Yet it may contain interesting information like lens used, crop factor/focal length converted to 35 mm film equivalent or even camera temperature.

+ Any format that the Exiv2 library is able to read can be used as a source of EXIF/IPTC information. Use cgg-dirgen to supply external metadata the same way like for supplied thumbnails. By default, the ".exv" file extension is used (default for exiv2 commandline tool).

+ That said, if you extract and save original metadata and supply them in gallery source XML files, you may be able to display more EXIF information at the end. It's wise to either point to an original RAW file or (to save space) use the exiv2 commandline tool to extract the metadata.
+ Example: exiv2 -eeic -f *.cr2 extracts EXIF, IPTC and JPEG Comment information to separate .exv files for all Canon CR2 files. + ]]>
+ + + +
+ -- cgit v1.2.3