1 <?xml version="1.0" encoding="utf-8"?>
\r
2 <section id="GuideOptionsOSD">
\r
3 <title>OverlayScreen Display</title>
\r
4 <para>This section describes the options presented under the OSD Tab of the preferences dialog.</para>
\r
5 <section id="OverlayScreenDisplay">
\r
6 <title>Overlay Screen Display</title>
\r
7 <para>The contents of the Overlay Screen Display is defined by the Image Overlay Template. This template is easily customised to display a wide range of data.</para>
\r
9 The format of each entry is:
\r
10 <programlisting>%tag[:max_length][:extra]%</programlisting>
\r
13 <tgroup cols="2" rowsep="1" colsep="1">
\r
17 <emphasis role="strong">Tag</emphasis>
\r
20 <emphasis role="strong">Replaced by</emphasis>
\r
25 <entry>Filename of the picture</entry>
\r
28 <entry>collection</entry>
\r
29 <entry>Name of the collection</entry>
\r
32 <entry>number</entry>
\r
33 <entry>Current number of image in the list</entry>
\r
36 <entry>total</entry>
\r
37 <entry>Total number of images</entry>
\r
41 <entry>File date</entry>
\r
45 <entry>File size</entry>
\r
48 <entry>width</entry>
\r
49 <entry>Image width</entry>
\r
52 <entry>height</entry>
\r
53 <entry>Image height</entry>
\r
57 <entry>Image resolution</entry>
\r
60 <entry>keywords</entry>
\r
61 <entry>Image keywords from metadata</entry>
\r
64 <entry>comment</entry>
\r
65 <entry>Image comment from XMP metadata</entry>
\r
68 <entry>imagecomment</entry>
\r
69 <entry>JPEG image comment</entry>
\r
72 <entry>rating</entry>
\r
73 <entry>Image rating</entry>
\r
76 <entry><meta_tag></entry>
\r
77 <entry>The Exif, XMP, or IPTC tag from metadata</entry>
\r
80 <entry>lua/<lua_script>/</entry>
\r
81 <entry>The output of a Lua script file</entry>
\r
84 <entry>lua//<lua_command></entry>
\r
85 <entry>The output of a Lua command</entry>
\r
91 As an aide, in addition to standard metadata tags, Geeqie provides a number of
\r
92 <link linkend="formatted_exif">pre-formatted tags</link>
\r
95 <para>Examples of usage are:</para>
\r
97 <programlisting xml:space="preserve">
\r
99 %Exif.Photo.DateTimeOriginal%
\r
100 %lua/jpeg_comment.lua/:12%
\r
101 %lua//return(os.date())%
\r
106 <link linkend="GuideReferenceLua">Lua Extensions</link>
\r
107 for further information.
\r
110 The length of displayed data can be limited by using the
\r
111 <emphasis role="italic">:max_length</emphasis>
\r
112 parameter. The following example will truncate the displayed data to 20 characters and will add 3 dots at the end to denote the truncation.
\r
113 <programlisting>%formatted.Camera:20%</programlisting>
\r
116 If two or more variables are connected with the
\r
118 character, the variables are displayed with a separator. For example::
\r
119 <programlisting>%formatted.ShutterSpeed%|%formatted.ISOSpeedRating%|%formatted.FocalLength%</programlisting>
\r
121 <programlisting>"1/20s - 400 - 80 mm"</programlisting>
\r
122 Or, if there is no ISO information in the Exif data:
\r
123 <programlisting>"1/200 - 80 mm"</programlisting>
\r
125 <para>If there is no data for a requested tag, the line is not displayed.</para>
\r
128 <emphasis role="italic">:extra</emphasis>
\r
129 parameter may be used to format the output by prepending and appending a text string to the displayed item.
\r
132 The special character
\r
134 is used to mark the position of the Tag data item. If no
\r
136 is present, the extra string is just appended to the standard data displayed. Any "\n" is replaced by a newline on display.
\r
137 <link linkend="GuideReferenceStandards">Pango mark up</link>
\r
138 is accepted in both left and right parts. If the data item is empty, nothing will be displayed.
\r
140 <para>Examples:</para>
\r
142 <tgroup cols="2" rowsep="1" colsep="1">
\r
146 <emphasis role="strong">Template</emphasis>
\r
149 <emphasis role="strong">Example display</emphasis>
\r
155 <i>*</i>\n%
\r
158 <emphasis role="italic">filename001.jpg</emphasis>
\r
162 <entry>%size:\n%</entry>
\r
163 <entry>123456</entry>
\r
166 <entry>%formatted.ISOSpeedRating:ISO *%</entry>
\r
167 <entry>ISO 100</entry>
\r
171 %collection:Collection:
\r
172 <b>*</b>
\r
177 <emphasis role="strong">my_new_collection</emphasis>
\r
189 <inlinegraphic fileref="preferences-desktop-font.png" />
\r
192 <guilabel>Font</guilabel>
\r
196 <inlinegraphic fileref="gtk-color-picker.png" />
\r
199 <guilabel>Text</guilabel>
\r
203 <inlinegraphic fileref="gtk-color-picker.png" />
\r
206 <guilabel>Background</guilabel>
\r
208 <listitem>The font used for the Overlay Screen Display, as well as the font colour and background colour, may be set via these buttons. Colour transparency can also be set.</listitem>
\r
216 <inlinegraphic fileref="help-contents.png" />
\r
219 <guilabel>Help</guilabel>
\r
222 <para>Show syntax help</para>
\r
229 <guilabel>Defaults</guilabel>
\r
232 <para>Restore default image overlay template</para>
\r