diff options
| author | Tomas Bzatek <tbzatek@users.sourceforge.net> | 2012-12-27 20:29:37 +0100 |
|---|---|---|
| committer | Tomas Bzatek <tbzatek@users.sourceforge.net> | 2012-12-27 20:29:37 +0100 |
| commit | d0599f8ab5c38e14845407dea4eef4d4957f9e28 (patch) | |
| tree | 14d5636e8a4213c06ab4144e5ae32a88f4ddbc8b /sample | |
| parent | dfb9d91c3342d9415a41e98d3a4af7d8c7472c6b (diff) | |
| download | cataract-d0599f8ab5c38e14845407dea4eef4d4957f9e28.tar.xz | |
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.
Diffstat (limited to 'sample')
| -rw-r--r-- | sample/src/CIAF_1/exif/5l9a4978.exv | bin | 0 -> 44161 bytes | |||
| l--------- | sample/src/CIAF_1/img_1453b.jpg | 1 | ||||
| -rw-r--r-- | sample/src/CIAF_1/index.xml | 13 |
3 files changed, 14 insertions, 0 deletions
diff --git a/sample/src/CIAF_1/exif/5l9a4978.exv b/sample/src/CIAF_1/exif/5l9a4978.exv Binary files differnew file mode 100644 index 0000000..f149f8c --- /dev/null +++ b/sample/src/CIAF_1/exif/5l9a4978.exv 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 @@ <!-- Captions should be retrieved from IPTC/EXIF --> </item> + <item src="img_1453b.jpg"> + <title>External EXIF metadata</title> + <title_description><![CDATA[This item uses external EXIF metadata, in this case supplied from a completely different picture.<br/><br/> + Photo editors and RAW workflow software usually strip big deal of metadata unknown to them. Things like <a href="http://exiv2.org/makernote.html">camera makernote</a> 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.<br/><br/> + Any format that the Exiv2 library is able to read can be used as a source of EXIF/IPTC information. Use <code>cgg-dirgen</code> to supply external metadata the same way like for supplied thumbnails. By default, the "<code>.exv</code>" file extension is used (default for <code>exiv2</code> commandline tool).<br/><br/> + 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 <code>exiv2</code> commandline tool to extract the metadata.<br/> + Example: <code>exiv2 -eeic -f *.cr2</code> extracts EXIF, IPTC and JPEG Comment information to separate .exv files for all Canon CR2 files. + ]]></title_description> + <metadata> + <external_exif src="exif/5l9a4978.exv" /> + </metadata> + </item> + </items> </gallery> |
