<?xml version="1.0" encoding="utf-8"?>
<section id="GuideReferenceThumbnails">
  <title>Thumbnails</title>
  <note>
    <para>
      This page only refers the Geeqie thumbnail caching mechanism, the shared thumbnail cache mechanism is described in
      <link linkend="GuideReferenceStandards">Thumbnail Standards</link>
      .
    </para>
  </note>
  <para />
  <section id="Format">
    <title>Format</title>
    <para>Thumbnails are stored in PNG image format. The thumbnail name is the name of the source image with “.png” appended.</para>
    <para>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.</para>
    <para />
  </section>
  <section id="Location">
    <title>Location</title>
    <para>
      Thumbnails are stored in a location specified in
      <link linkend="PreferencesThumbnails">Thumbnail Preferences</link>
      .

    </para>
    <para>The directory structure of the thumbnail cache duplicates that of the location of the source files.</para>
  </section>
  <section id="Size">
    <title>Size</title>
    <para>Geeqie allows the following sizes for thumbnails:</para>
    <para>24x24, 32x32, 48x48, 64x64, 96x72, 96x96, 129x96, 128x128, 160x120, 160x160, 192x144, 192x192, 256x192, 256x256, custom</para>
    <para>Custom size has a maximum of 512x512.</para>
    <para>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.</para>
    <para>When a cached thumbnail's width and height do not match the preferred size, the thumbnail is regenerated.</para>
    <para />
  </section>
</section>
