cases an instance of <code>PNGEncodeParam.RGB</code> is
 returned.

 <p> Note that this method does not provide any guarantee that
 the given image will be successfully encoded by the PNG
 encoder, as it only performs a very superficial analysis of
 the image structure.</div>
</li>
</ul>
<a id="setBitDepth(int)">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setBitDepth</h4>
<pre class="methodSignature">public abstract&nbsp;void&nbsp;setBitDepth&#8203;(int&nbsp;bitDepth)</pre>
<div class