Sync to GQview 1.5.9 release.
[geeqie.git] / doc / 11_3_thumbnails.html
1 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
2 <HTML>
3 <HEAD>
4         <META HTTP-EQUIV="CONTENT-TYPE" CONTENT="text/html; charset=iso-8859-1">
5         <TITLE>Thumbnails - GQview User Manual</TITLE>
6         <META NAME="GENERATOR" CONTENT="OpenOffice.org 1.1.3  (Linux)">
7         <META NAME="CREATED" CONTENT="20040805;23590500">
8         <META NAME="CHANGED" CONTENT="20050131;9432500">
9 </HEAD>
10 <BODY LANG="en-US" DIR="LTR">
11 <CENTER>
12         <TABLE WIDTH=100% BORDER=0 CELLPADDING=4 CELLSPACING=0 STYLE="page-break-before: always">
13                 <COL WIDTH=85*>
14                 <COL WIDTH=85*>
15                 <COL WIDTH=85*>
16                 <THEAD>
17                         <TR VALIGN=TOP>
18                                 <TD WIDTH=33%>
19                                         <P><A HREF="11_2_keyboard_shortcuts.html">Previous</A></P>
20                                 </TD>
21                                 <TD WIDTH=33%>
22                                         <P ALIGN=CENTER>Thumbnails - Reference</P>
23                                 </TD>
24                                 <TD WIDTH=33%>
25                                         <P ALIGN=RIGHT><A HREF="11_4_management.html">Next</A></P>
26                                 </TD>
27                         </TR>
28                 </THEAD>
29         </TABLE>
30 </CENTER>
31 <HR>
32 <H1>11.3 Thumbnails</H1>
33 <P STYLE="text-decoration: none"><I>Note: This page only refers the
34 GQview thumbnail caching mechanism, the shared thumbnail cache
35 mechanism is not explained here.</I></P>
36 <P><U>Format</U></P>
37 <P STYLE="margin-left: 0.79in">Thumbnails are stored in PNG image
38 format. The thumbnail name is the name of the source image with
39 &ldquo;.png&rdquo; appended.</P>
40 <P STYLE="margin-left: 0.79in">The modification time (mtime) of the
41 thumbnail is set to match the source file. Thumbnails are regenerated
42 when the timestamps of the thumbnail and source file do not match.</P>
43 <P STYLE="margin-left: 0.79in"><BR><BR>
44 </P>
45 <P><U>Location</U></P>
46 <P STYLE="margin-left: 0.79in">Thumbnails are stored in:</P>
47 <P STYLE="margin-left: 1.58in">($HOME)/.gqview/thumbnails</P>
48 <P STYLE="margin-left: 0.79in">The directory structure of the
49 thumbnail cache duplicates the location of the source files, for
50 example a source file with the name:</P>
51 <P STYLE="margin-left: 1.58in">/path/to/image.jpg</P>
52 <P STYLE="margin-left: 0.79in">will store the thumbnail in:</P>
53 <P STYLE="margin-left: 1.58in">($HOME)/.gqview/thumbnails/path/to/image.jpg.png</P>
54 <P STYLE="margin-left: 0.79in">When thumbnails are to be stored local
55 to the source file, the thumbnail will be placed in:</P>
56 <P STYLE="margin-left: 1.58in">/path/to/.thumbnails/image.jpg.png</P>
57 <P STYLE="margin-left: 0.79in">Local thumbnail caching is enabled
58 with the option &ldquo;Cache thumbnails into .thumbnails&rdquo; on
59 the <A HREF="10_1_general.html">General</A> tab of the options
60 dialog. If it is not possible to store the thumbnail local to the
61 source file (usually due to no write permissions), GQview will fall
62 back to saving the thumbnail in the user's ($HOME)/.gqview/thumbnails
63 folder.</P>
64 <P><BR><BR>
65 </P>
66 <P><U>Size</U></P>
67 <P STYLE="margin-left: 0.79in">GQview allows the following sizes for
68 thumbnails:</P>
69 <P STYLE="margin-left: 1.58in">24x24, 32x32, 48x48, 64x64, 96x72,
70 96x96, 129x96, 128x128, 160x120, 160x160, 192x144, 192x192, 256x192,
71 256x256</P>
72 <P STYLE="margin-left: 0.79in">The thumbnail is scaled to fit within
73 the preferred size maintaining the aspect ratio. Thumbnails are not
74 cached for images that are equal to or smaller than the preferred
75 thumbnail size.</P>
76 <P STYLE="margin-left: 0.79in">When a cached thumbnail's width and
77 height do not match the preferred size, the thumbnail is regenerated.</P>
78 <P><BR><BR>
79 </P>
80 <P><BR><BR>
81 </P>
82 <P><BR><BR>
83 </P>
84 <HR>
85 <CENTER>
86         <TABLE WIDTH=100% BORDER=0 CELLPADDING=4 CELLSPACING=0>
87                 <COL WIDTH=85*>
88                 <COL WIDTH=85*>
89                 <COL WIDTH=85*>
90                 <THEAD>
91                         <TR VALIGN=TOP>
92                                 <TD WIDTH=33%>
93                                         <P><A HREF="11_2_keyboard_shortcuts.html">Previous</A></P>
94                                 </TD>
95                                 <TD WIDTH=33%>
96                                         <P ALIGN=CENTER><A HREF="index.html">Contents</A></P>
97                                 </TD>
98                                 <TD WIDTH=33%>
99                                         <P ALIGN=RIGHT><A HREF="11_4_management.html">Next</A></P>
100                                 </TD>
101                         </TR>
102                 </THEAD>
103                 <TBODY>
104                         <TR VALIGN=TOP>
105                                 <TD WIDTH=33%>
106                                         <P><BR>
107                                         </P>
108                                 </TD>
109                                 <TD WIDTH=33%>
110                                         <P ALIGN=CENTER><BR>
111                                         </P>
112                                 </TD>
113                                 <TD WIDTH=33%>
114                                         <P ALIGN=RIGHT>GQview User Manual</P>
115                                 </TD>
116                         </TR>
117                 </TBODY>
118         </TABLE>
119 </CENTER>
120 <P STYLE="margin-bottom: 0in"><BR>
121 </P>
122 </BODY>
123 </HTML>