summaryrefslogtreecommitdiff
path: root/sample/src/CIAF_1
diff options
context:
space:
mode:
authorTomas Bzatek <tbzatek@users.sourceforge.net>2013-03-10 12:41:13 +0100
committerTomas Bzatek <tbzatek@users.sourceforge.net>2013-03-10 12:41:13 +0100
commit6468dd6da3764498fcabbf99603f50974f26c2c6 (patch)
treef2ed6269be321bccc9ad2743009847fecacdd539 /sample/src/CIAF_1
parent0bdfd296ea68a2ec796be603faba3a85586c4a4e (diff)
downloadcataract-6468dd6da3764498fcabbf99603f50974f26c2c6.tar.xz
Add support for datetime/timezone shift
Simple datetime shift, including EXIF data modification.
Diffstat (limited to 'sample/src/CIAF_1')
l---------sample/src/CIAF_1/img_1453c.jpg1
-rw-r--r--sample/src/CIAF_1/index.xml18
2 files changed, 19 insertions, 0 deletions
diff --git a/sample/src/CIAF_1/img_1453c.jpg b/sample/src/CIAF_1/img_1453c.jpg
new file mode 120000
index 0000000..4b0b3c1
--- /dev/null
+++ b/sample/src/CIAF_1/img_1453c.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 9a00ad7..24433fd 100644
--- a/sample/src/CIAF_1/index.xml
+++ b/sample/src/CIAF_1/index.xml
@@ -100,6 +100,8 @@
<!-- Captions should be retrieved from IPTC/EXIF -->
</item>
+ <separator>Metadata</separator>
+
<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/>
@@ -113,5 +115,21 @@
</metadata>
</item>
+ <item src="img_1453c.jpg">
+ <title>Time zone shift</title>
+ <title_description><![CDATA[This item uses external EXIF metadata from last example, combined with manual time zone correction. This is useful if you forgot to correct time in the camera, e.g. when travelling and crossing multiple timezones or by different DST settings.<br/><br/>
+
+ Values can be specified either in preferred <code>&#177;hh:mm</code> format specifying exact hour and minutes, or, alternatively, by simplified plain float format (e.g. <code>1</code>, <code>-2</code>, <code>+0.5</code>) where the number represents hours. Beware that in the latter case there may be precision issues converting float format to minutes.<br/><br/>
+
+ Changes can be made locally for specific item or globally for whole album (with the former taking priority).<br/><br/>
+
+ All such changes are written in generated image files in all present metadata fields. This also applies for user supplied images which are normally not supposed to be changed or resized.
+ ]]></title_description>
+ <metadata>
+ <external_exif src="exif/5l9a4978.exv" />
+ <timezone shift="+02:15" />
+ </metadata>
+ </item>
+
</items>
</gallery>