~ubuntu-branches/debian/stretch/phatch/stretch

« back to all changes in this revision

Viewing changes to docs/build/html/lib.thumbnail.html

  • Committer: Bazaar Package Importer
  • Author(s): Stani M, Stani M, Bernd Zeimetz
  • Date: 2009-12-10 01:07:36 UTC
  • mfrom: (1.1.9 upstream)
  • Revision ID: james.westby@ubuntu.com-20091210010736-uuvl2nhhjh1u5fen
Tags: 0.2.5-1
[ Stani M ]
* Upstream bugfix release (Closes LP: #454426, #458366, #469231, #481751,
  #492665)
* debian/watch: updated new location

[ Bernd Zeimetz ] 
* debian/control:
  - Removing myself from Uploaders. 

Show diffs side-by-side

added added

removed removed

Lines of Context:
249
249
 
250
250
<dl class="function">
251
251
<dt id="lib.thumbnail.open">
252
 
<tt class="descclassname">lib.thumbnail.</tt><tt class="descname">open</tt><big>(</big><em>filename</em>, <em>image=None</em>, <em>open_image=&lt;function open_image_exif at 0x2212320&gt;</em>, <em>size=(128</em>, <em>128)</em>, <em>save_cache=True</em><big>)</big><a class="headerlink" href="#lib.thumbnail.open" title="Permalink to this definition">¶</a></dt>
 
252
<tt class="descclassname">lib.thumbnail.</tt><tt class="descname">open</tt><big>(</big><em>filename</em>, <em>image=None</em>, <em>open_image=&lt;function open_image_exif at 0x2ae32a8&gt;</em>, <em>size=(128</em>, <em>128)</em>, <em>save_cache=True</em><big>)</big><a class="headerlink" href="#lib.thumbnail.open" title="Permalink to this definition">¶</a></dt>
253
253
<dd><p>Retrieves a thumbnail from a file. It will only use the cache
254
254
if <tt class="docutils literal"><span class="pre">size</span></tt> is smaller than the cache thumbnail sizes.</p>
255
255
<p>On Linux it will try to load it from the freedesktop thumbnail
280
280
 
281
281
<dl class="function">
282
282
<dt id="lib.thumbnail.save_to_cache">
283
 
<tt class="descclassname">lib.thumbnail.</tt><tt class="descname">save_to_cache</tt><big>(</big><em>filename</em>, <em>image=None</em>, <em>open_image=&lt;function open_image_exif at 0x2212320&gt;</em>, <em>thumb_info=None</em>, <em>**options</em><big>)</big><a class="headerlink" href="#lib.thumbnail.save_to_cache" title="Permalink to this definition">¶</a></dt>
 
283
<tt class="descclassname">lib.thumbnail.</tt><tt class="descname">save_to_cache</tt><big>(</big><em>filename</em>, <em>image=None</em>, <em>open_image=&lt;function open_image_exif at 0x2ae32a8&gt;</em>, <em>thumb_info=None</em>, <em>**options</em><big>)</big><a class="headerlink" href="#lib.thumbnail.save_to_cache" title="Permalink to this definition">¶</a></dt>
284
284
<dd><p>Save the thumb of image as a thumbnail for specified file.</p>
285
285
<p>This is called by the _open function, which requires that it
286
286
returns the thumb.</p>