annotate doc/docbook/GuideReferenceThumbnails.xml @ 1734:b92fc3c922ac

scripts for converting wiki documentation to docbook
author nadvornik
date Sun, 22 Nov 2009 09:12:22 +0000
parents
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
1734
b92fc3c922ac scripts for converting wiki documentation to docbook
nadvornik
parents:
diff changeset
1 <?xml version="1.0" encoding="utf-8"?>
b92fc3c922ac scripts for converting wiki documentation to docbook
nadvornik
parents:
diff changeset
2 <section id="GuideReferenceThumbnails">
b92fc3c922ac scripts for converting wiki documentation to docbook
nadvornik
parents:
diff changeset
3 <title>
b92fc3c922ac scripts for converting wiki documentation to docbook
nadvornik
parents:
diff changeset
4 Thumbnails
b92fc3c922ac scripts for converting wiki documentation to docbook
nadvornik
parents:
diff changeset
5 </title>
b92fc3c922ac scripts for converting wiki documentation to docbook
nadvornik
parents:
diff changeset
6 <para>
b92fc3c922ac scripts for converting wiki documentation to docbook
nadvornik
parents:
diff changeset
7 Note: This page only refers the Geeqie thumbnail caching mechanism, the shared thumbnail cache mechanism is not explained here.
b92fc3c922ac scripts for converting wiki documentation to docbook
nadvornik
parents:
diff changeset
8 </para>
b92fc3c922ac scripts for converting wiki documentation to docbook
nadvornik
parents:
diff changeset
9 <para/><section id="Format"><title>
b92fc3c922ac scripts for converting wiki documentation to docbook
nadvornik
parents:
diff changeset
10 Format
b92fc3c922ac scripts for converting wiki documentation to docbook
nadvornik
parents:
diff changeset
11 </title>
b92fc3c922ac scripts for converting wiki documentation to docbook
nadvornik
parents:
diff changeset
12 <para>
b92fc3c922ac scripts for converting wiki documentation to docbook
nadvornik
parents:
diff changeset
13 Thumbnails are stored in PNG image format. The thumbnail name is the name of the source image with “.png” appended.
b92fc3c922ac scripts for converting wiki documentation to docbook
nadvornik
parents:
diff changeset
14 </para>
b92fc3c922ac scripts for converting wiki documentation to docbook
nadvornik
parents:
diff changeset
15 <para>
b92fc3c922ac scripts for converting wiki documentation to docbook
nadvornik
parents:
diff changeset
16 The modification time (mtime) of the thumbnail is set to match the source file. Thumbnails are regenerated when the timestamps of the thumbnail and source file do not match.
b92fc3c922ac scripts for converting wiki documentation to docbook
nadvornik
parents:
diff changeset
17 </para>
b92fc3c922ac scripts for converting wiki documentation to docbook
nadvornik
parents:
diff changeset
18 <para/></section><section id="Location"><title>
b92fc3c922ac scripts for converting wiki documentation to docbook
nadvornik
parents:
diff changeset
19 Location
b92fc3c922ac scripts for converting wiki documentation to docbook
nadvornik
parents:
diff changeset
20 </title>
b92fc3c922ac scripts for converting wiki documentation to docbook
nadvornik
parents:
diff changeset
21 <para>
b92fc3c922ac scripts for converting wiki documentation to docbook
nadvornik
parents:
diff changeset
22 Thumbnails are stored in:
b92fc3c922ac scripts for converting wiki documentation to docbook
nadvornik
parents:
diff changeset
23 </para>
b92fc3c922ac scripts for converting wiki documentation to docbook
nadvornik
parents:
diff changeset
24 <para>
b92fc3c922ac scripts for converting wiki documentation to docbook
nadvornik
parents:
diff changeset
25 <literal>($HOME)/.geeqie/thumbnails</literal>
b92fc3c922ac scripts for converting wiki documentation to docbook
nadvornik
parents:
diff changeset
26 </para>
b92fc3c922ac scripts for converting wiki documentation to docbook
nadvornik
parents:
diff changeset
27 <para>
b92fc3c922ac scripts for converting wiki documentation to docbook
nadvornik
parents:
diff changeset
28 The directory structure of the thumbnail cache duplicates the location of the source files, for example a source file with the name:
b92fc3c922ac scripts for converting wiki documentation to docbook
nadvornik
parents:
diff changeset
29 </para>
b92fc3c922ac scripts for converting wiki documentation to docbook
nadvornik
parents:
diff changeset
30 <para>
b92fc3c922ac scripts for converting wiki documentation to docbook
nadvornik
parents:
diff changeset
31 <literal>/path/to/image.jpg</literal>
b92fc3c922ac scripts for converting wiki documentation to docbook
nadvornik
parents:
diff changeset
32 </para>
b92fc3c922ac scripts for converting wiki documentation to docbook
nadvornik
parents:
diff changeset
33 <para>
b92fc3c922ac scripts for converting wiki documentation to docbook
nadvornik
parents:
diff changeset
34 will store the thumbnail in:
b92fc3c922ac scripts for converting wiki documentation to docbook
nadvornik
parents:
diff changeset
35 </para>
b92fc3c922ac scripts for converting wiki documentation to docbook
nadvornik
parents:
diff changeset
36 <para>
b92fc3c922ac scripts for converting wiki documentation to docbook
nadvornik
parents:
diff changeset
37 <literal>($HOME)/.geeqie/thumbnails/path/to/image.jpg.png</literal>
b92fc3c922ac scripts for converting wiki documentation to docbook
nadvornik
parents:
diff changeset
38 </para>
b92fc3c922ac scripts for converting wiki documentation to docbook
nadvornik
parents:
diff changeset
39 <para>
b92fc3c922ac scripts for converting wiki documentation to docbook
nadvornik
parents:
diff changeset
40 When thumbnails are to be stored local to the source file, the thumbnail will be placed in:
b92fc3c922ac scripts for converting wiki documentation to docbook
nadvornik
parents:
diff changeset
41 </para>
b92fc3c922ac scripts for converting wiki documentation to docbook
nadvornik
parents:
diff changeset
42 <para>
b92fc3c922ac scripts for converting wiki documentation to docbook
nadvornik
parents:
diff changeset
43 <literal>/path/to/.thumbnails/image.jpg.png</literal>
b92fc3c922ac scripts for converting wiki documentation to docbook
nadvornik
parents:
diff changeset
44 </para>
b92fc3c922ac scripts for converting wiki documentation to docbook
nadvornik
parents:
diff changeset
45 <para>
b92fc3c922ac scripts for converting wiki documentation to docbook
nadvornik
parents:
diff changeset
46 Local thumbnail caching is enabled with the option “Cache thumbnails into .thumbnails” on the <link linkend="GuideOptionsGeneral">General</link> tab of the options dialog. If it is not possible to store the thumbnail local to the source file (usually due to no write permissions), Geeqie will fall back to saving the thumbnail in the user's ($HOME)/.geeqie/thumbnails folder.
b92fc3c922ac scripts for converting wiki documentation to docbook
nadvornik
parents:
diff changeset
47 </para>
b92fc3c922ac scripts for converting wiki documentation to docbook
nadvornik
parents:
diff changeset
48 <para/></section><section id="Size"><title>
b92fc3c922ac scripts for converting wiki documentation to docbook
nadvornik
parents:
diff changeset
49 Size
b92fc3c922ac scripts for converting wiki documentation to docbook
nadvornik
parents:
diff changeset
50 </title>
b92fc3c922ac scripts for converting wiki documentation to docbook
nadvornik
parents:
diff changeset
51 <para>
b92fc3c922ac scripts for converting wiki documentation to docbook
nadvornik
parents:
diff changeset
52 Geeqie allows the following sizes for thumbnails:
b92fc3c922ac scripts for converting wiki documentation to docbook
nadvornik
parents:
diff changeset
53 </para>
b92fc3c922ac scripts for converting wiki documentation to docbook
nadvornik
parents:
diff changeset
54 <para>
b92fc3c922ac scripts for converting wiki documentation to docbook
nadvornik
parents:
diff changeset
55 24x24, 32x32, 48x48, 64x64, 96x72, 96x96, 129x96, 128x128, 160x120, 160x160, 192x144, 192x192, 256x192, 256x256
b92fc3c922ac scripts for converting wiki documentation to docbook
nadvornik
parents:
diff changeset
56 </para>
b92fc3c922ac scripts for converting wiki documentation to docbook
nadvornik
parents:
diff changeset
57 <para>
b92fc3c922ac scripts for converting wiki documentation to docbook
nadvornik
parents:
diff changeset
58 The thumbnail is scaled to fit within the preferred size maintaining the aspect ratio. Thumbnails are not cached for images that are equal to or smaller than the preferred thumbnail size.
b92fc3c922ac scripts for converting wiki documentation to docbook
nadvornik
parents:
diff changeset
59 </para>
b92fc3c922ac scripts for converting wiki documentation to docbook
nadvornik
parents:
diff changeset
60 <para>
b92fc3c922ac scripts for converting wiki documentation to docbook
nadvornik
parents:
diff changeset
61 When a cached thumbnail's width and height do not match the preferred size, the thumbnail is regenerated.
b92fc3c922ac scripts for converting wiki documentation to docbook
nadvornik
parents:
diff changeset
62 </para>
b92fc3c922ac scripts for converting wiki documentation to docbook
nadvornik
parents:
diff changeset
63 <para/></section></section>