1773
|
1 <?xml version="1.0" encoding="utf-8"?>
|
|
2 <section id="GuideReferenceThumbnails">
|
|
3 <title>
|
|
4 Thumbnails
|
|
5 </title>
|
|
6 <para>
|
|
7 Note: This page only refers the Geeqie thumbnail caching mechanism, the shared thumbnail cache mechanism is not explained here.
|
|
8 </para>
|
|
9 <para/><section id="Format"><title>
|
|
10 Format
|
|
11 </title>
|
|
12 <para>
|
|
13 Thumbnails are stored in PNG image format. The thumbnail name is the name of the source image with “.png” appended.
|
|
14 </para>
|
|
15 <para>
|
|
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.
|
|
17 </para>
|
|
18 <para/></section><section id="Location"><title>
|
|
19 Location
|
|
20 </title>
|
|
21 <para>
|
|
22 Thumbnails are stored in:
|
|
23 </para>
|
|
24 <para>
|
|
25 <literal>($HOME)/.geeqie/thumbnails</literal>
|
|
26 </para>
|
|
27 <para>
|
|
28 The directory structure of the thumbnail cache duplicates the location of the source files, for example a source file with the name:
|
|
29 </para>
|
|
30 <para>
|
|
31 <literal>/path/to/image.jpg</literal>
|
|
32 </para>
|
|
33 <para>
|
|
34 will store the thumbnail in:
|
|
35 </para>
|
|
36 <para>
|
|
37 <literal>($HOME)/.geeqie/thumbnails/path/to/image.jpg.png</literal>
|
|
38 </para>
|
|
39 <para>
|
|
40 When thumbnails are to be stored local to the source file, the thumbnail will be placed in:
|
|
41 </para>
|
|
42 <para>
|
|
43 <literal>/path/to/.thumbnails/image.jpg.png</literal>
|
|
44 </para>
|
|
45 <para>
|
|
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.
|
|
47 </para>
|
|
48 <para/></section><section id="Size"><title>
|
|
49 Size
|
|
50 </title>
|
|
51 <para>
|
|
52 Geeqie allows the following sizes for thumbnails:
|
|
53 </para>
|
|
54 <para>
|
|
55 24x24, 32x32, 48x48, 64x64, 96x72, 96x96, 129x96, 128x128, 160x120, 160x160, 192x144, 192x192, 256x192, 256x256
|
|
56 </para>
|
|
57 <para>
|
|
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.
|
|
59 </para>
|
|
60 <para>
|
|
61 When a cached thumbnail's width and height do not match the preferred size, the thumbnail is regenerated.
|
|
62 </para>
|
|
63 <para/></section></section>
|