# org.jpedal.jbig2.image.JBIG2Bitmap.readBitmap

## Content

<div class="doc-site-dotnet-api-container">



<h1 id="org_jpedal_jbig2_image_JBIG2Bitmap_readBitmap_" data-uid="org.jpedal.jbig2.image.JBIG2Bitmap.readBitmap*">readBitmap Method
</h1>
<div class="markdown level0 summary"></div>
<div class="markdown level0 conceptual"></div>



<a id="org_jpedal_jbig2_image_JBIG2Bitmap_readBitmap_" data-uid="org.jpedal.jbig2.image.JBIG2Bitmap.readBitmap*"></a>
<h4 id="org_jpedal_jbig2_image_JBIG2Bitmap_readBitmap_System_Boolean_System_Int32_System_Boolean_System_Boolean_org_jpedal_jbig2_image_JBIG2Bitmap_System_Int16___System_Int16___System_Int32_" data-uid="org.jpedal.jbig2.image.JBIG2Bitmap.readBitmap(System.Boolean,System.Int32,System.Boolean,System.Boolean,org.jpedal.jbig2.image.JBIG2Bitmap,System.Int16[],System.Int16[],System.Int32)">readBitmap(bool, int, bool, bool, JBIG2Bitmap, short[], short[], int)</h4>
<div class="markdown level1 summary"></div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">public void readBitmap(bool useMMR, int template, bool typicalPredictionGenericDecodingOn, bool useSkip, JBIG2Bitmap skipBitmap, short[] adaptiveTemplateX, short[] adaptiveTemplateY, int mmrDataLength)</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Public Sub readBitmap(useMMR As Boolean, template As Integer, typicalPredictionGenericDecodingOn As Boolean, useSkip As Boolean, skipBitmap As JBIG2Bitmap, adaptiveTemplateX As Short(), adaptiveTemplateY As Short(), mmrDataLength As Integer)</code></pre>
</div>
<h5 class="parameters">Parameters</h5>
<table class="table table-bordered table-condensed">
  <thead>
    <tr>
      <th>Type</th>
      <th>Name</th>
      <th>Description</th>
    </tr>
  </thead>
  <tbody>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.boolean">bool</a></td>
      <td><span class="parametername">useMMR</span></td>
      <td></td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.int32">int</a></td>
      <td><span class="parametername">template</span></td>
      <td></td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.boolean">bool</a></td>
      <td><span class="parametername">typicalPredictionGenericDecodingOn</span></td>
      <td></td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.boolean">bool</a></td>
      <td><span class="parametername">useSkip</span></td>
      <td></td>
    </tr>
    <tr>
      <td><a class="xref" href="org.jpedal.jbig2.image.JBIG2Bitmap.html">JBIG2Bitmap</a></td>
      <td><span class="parametername">skipBitmap</span></td>
      <td></td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.int16">short</a>[]</td>
      <td><span class="parametername">adaptiveTemplateX</span></td>
      <td></td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.int16">short</a>[]</td>
      <td><span class="parametername">adaptiveTemplateY</span></td>
      <td></td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.int32">int</a></td>
      <td><span class="parametername">mmrDataLength</span></td>
      <td></td>
    </tr>
  </tbody>
</table>
</div>
