<?xml version="1.0"?>
<page id="Gimp.LoadProcedure.set_thumbnail_loader"
      type="topic"
      style="method"
      xmlns="http://projectmallard.org/1.0/"
      xmlns:api="http://projectmallard.org/experimental/api/"
      xmlns:ui="http://projectmallard.org/1.0/ui/">
  <info>
    <link xref="Gimp.LoadProcedure" group="method" type="guide"/>
    <api:function>
      <api:returns>
        <api:type>none</api:type>
      </api:returns>
      <api:name>gimp_load_procedure_set_thumbnail_loader</api:name>
      <api:arg>
        <api:type>Gimp.LoadProcedure</api:type>
        <api:name>self</api:name>
      </api:arg>
      <api:arg>
        <api:type>unicode</api:type>
        <api:name>thumbnail_proc</api:name>
      </api:arg>
    </api:function>
  </info>
  <title>Gimp.LoadProcedure.set_thumbnail_loader</title>
  <synopsis><code mime="text/x-python">
@accepts(Gimp.LoadProcedure, unicode)
@returns(none)
def set_thumbnail_loader(self, thumbnail_proc):
    # Python wrapper for gimp_load_procedure_set_thumbnail_loader()
  </code></synopsis>
  <p>Associates a thumbnail loader with a file load procedure.</p>  <p>Some file formats allow for embedded thumbnails, other file formats
contain a scalable image or provide the image data in different
resolutions. A file plug-in for such a format may register a
special procedure that allows GIMP to load a thumbnail preview of
the image. This procedure is then associated with the standard
load procedure using this function.</p>
  <p>Since 3.0</p>
<terms>
<item>
<title><code>self</code></title>
  <p>A load procedure object.</p>
</item>
<item>
<title><code>thumbnail_proc</code></title>
  <p>The name of the thumbnail load procedure.</p>
</item>
</terms>

</page>
