y implemented TIFF readers are expected to do any necessary
byte-swapping to correctly process image data with <code class="docutils literal notranslate"><span class="pre">BitsPerSample</span></code>
greater than 8.</p>
</section>
<section id="return-values">
<h2>Return values<a class="headerlink" href="#return-values" title="Permalink to this heading">¶</a></h2>
<p>-1 is returned if an error was encountered. Otherwise, the value of
<em>size</em> is returned.</p>
</section>
<section id="diagnostics">
<h2>D