~ubuntu-branches/debian/jessie/phatch/jessie

« back to all changes in this revision

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

  • Committer: Bazaar Package Importer
  • Author(s): Stani M
  • Date: 2009-10-15 18:22:54 UTC
  • mfrom: (1.1.8 upstream)
  • Revision ID: james.westby@ubuntu.com-20091015182254-fu9tucj6k2zk8095
Tags: 0.2.4-1
* Upstream bugfix release (Closes LP: #450693, #449404, #452261,
  #448993)
  
* debian/control: added for phatch: Replaces: phatch-cli (<= 0.2.3-2)
  to fix file overwrite errors (LP: #450800)

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 0x31d22a8&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 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>
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 0x31d22a8&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 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>
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>
342
342
            <h4>Next topic</h4>
343
343
            <p class="topless"><a href="lib.unicoding.html"
344
344
                                  title="next chapter">unicoding</a></p>
345
 
            <h3>This Page</h3>
346
 
            <ul class="this-page-menu">
347
 
              <li><a href="_sources/lib.thumbnail.txt"
348
 
                     rel="nofollow">Show Source</a></li>
349
 
            </ul>
350
345
          <div id="searchbox" style="display: none">
351
346
            <h3>Quick search</h3>
352
347
              <form class="search" action="search.html" method="get">