# CSJ2K.Color.EsRgbColorSpaceMapper

## Content

<div class="doc-site-dotnet-api-container">



  <h1 id="CSJ2K_Color_EsRgbColorSpaceMapper" data-uid="CSJ2K.Color.EsRgbColorSpaceMapper" class="text-break">EsRgbColorSpaceMapper Class
</h1>
  <div class="markdown level0 summary"><p>This decodes maps which are defined in the e-sRGB
colorspace into the sRGB colorspace.</p>
</div>
  <div class="markdown level0 conceptual"></div>
  <div class="inheritance">
    <h5>Inheritance</h5>
    <div class="level0"><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.object">object</a></div>
    <div class="level1"><a class="xref" href="CSJ2K.j2k.image.ImgDataAdapter.html">ImgDataAdapter</a></div>
    <div class="level2"><a class="xref" href="CSJ2K.Color.ColorSpaceMapper.html">ColorSpaceMapper</a></div>
    <div class="level3"><span class="xref">EsRgbColorSpaceMapper</span></div>
  </div>
  <div class="implements">
    <h5>Implements</h5>
    <div><a class="xref" href="CSJ2K.j2k.image.BlkImgDataSrc.html">BlkImgDataSrc</a></div>
    <div><a class="xref" href="CSJ2K.j2k.image.ImgData.html">ImgData</a></div>
  </div>
  <h6><strong>Namespace</strong>: <a class="xref" href="CSJ2K.Color.html">CSJ2K.Color</a></h6>
  <h6><strong>Assembly</strong>: C1.C1Pdf.4.8.dll</h6>
  <h5 id="CSJ2K_Color_EsRgbColorSpaceMapper_syntax">Syntax</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public class EsRgbColorSpaceMapper : ColorSpaceMapper, BlkImgDataSrc, ImgData</code></pre>
  </div>
  <div class="codewrapper">
    <pre><code class="lang-vbnet hljs">Public Class EsRgbColorSpaceMapper
    Inherits ColorSpaceMapper
    Implements BlkImgDataSrc, ImgData</code></pre>
  </div>
  <h3 id="constructors">Constructors
</h3>
  <table class="table table-bordered table-condensed">
    <thead>
      <tr>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td id="CSJ2K_Color_EsRgbColorSpaceMapper__ctor_CSJ2K_j2k_image_BlkImgDataSrc_CSJ2K_Color_ColorSpace_" data-uid="CSJ2K.Color.EsRgbColorSpaceMapper.#ctor(CSJ2K.j2k.image.BlkImgDataSrc,CSJ2K.Color.ColorSpace)">
          <a class="xref" href="CSJ2K.Color.EsRgbColorSpaceMapper.-ctor.html#CSJ2K_Color_EsRgbColorSpaceMapper__ctor_CSJ2K_j2k_image_BlkImgDataSrc_CSJ2K_Color_ColorSpace_">EsRgbColorSpaceMapper(BlkImgDataSrc, ColorSpace)</a>
        </td>
        <td class="markdown level1 summary"><p>Ctor which creates an ICCProfile for the image and initializes
all data objects (input, working, and output).</p>
</td>
      </tr>
    </tbody>
  </table>
  <h3 id="methods">Methods
</h3>
  <table class="table table-bordered table-condensed">
    <thead>
      <tr>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td id="CSJ2K_Color_EsRgbColorSpaceMapper_ToString" data-uid="CSJ2K.Color.EsRgbColorSpaceMapper.ToString">
          <a class="xref" href="CSJ2K.Color.EsRgbColorSpaceMapper.ToString.html#CSJ2K_Color_EsRgbColorSpaceMapper_ToString">ToString()</a>
        </td>
        <td class="markdown level1 summary"><p>Return a suitable String representation of the class instance.</p>
</td>
      </tr>
      <tr>
        <td id="CSJ2K_Color_EsRgbColorSpaceMapper_createInstance_CSJ2K_j2k_image_BlkImgDataSrc_CSJ2K_Color_ColorSpace_" data-uid="CSJ2K.Color.EsRgbColorSpaceMapper.createInstance(CSJ2K.j2k.image.BlkImgDataSrc,CSJ2K.Color.ColorSpace)">
          <a class="xref" href="CSJ2K.Color.EsRgbColorSpaceMapper.createInstance.html#CSJ2K_Color_EsRgbColorSpaceMapper_createInstance_CSJ2K_j2k_image_BlkImgDataSrc_CSJ2K_Color_ColorSpace_">createInstance(BlkImgDataSrc, ColorSpace)</a>
        </td>
        <td class="markdown level1 summary"><p>Factory method for creating instances of this class.</p>
</td>
      </tr>
      <tr>
        <td id="CSJ2K_Color_EsRgbColorSpaceMapper_getCompData_CSJ2K_j2k_image_DataBlk_System_Int32_" data-uid="CSJ2K.Color.EsRgbColorSpaceMapper.getCompData(CSJ2K.j2k.image.DataBlk,System.Int32)">
          <a class="xref" href="CSJ2K.Color.EsRgbColorSpaceMapper.getCompData.html#CSJ2K_Color_EsRgbColorSpaceMapper_getCompData_CSJ2K_j2k_image_DataBlk_System_Int32_">getCompData(DataBlk, int)</a>
        </td>
        <td class="markdown level1 summary"><p>Returns, in the blk argument, a block of image data containing the
specifed rectangular area, in the specified component. The data is
returned, as a copy of the internal data, therefore the returned data
can be modified "in place".</p>
<p>The rectangular area to return is specified by the 'ulx', 'uly', 'w'
and 'h' members of the 'blk' argument, relative to the current
tile. These members are not modified by this method. The 'offset' of
the returned data is 0, and the 'scanw' is the same as the block's
width. See the 'DataBlk' class.</p>
<p>If the data array in 'blk' is 'null', then a new one is created. If
the data array is not 'null' then it is reused, and it must be large
enough to contain the block's data. Otherwise an 'ArrayStoreException'
or an 'IndexOutOfBoundsException' is thrown by the Java system.</p>
<p>The returned data has its 'progressive' attribute set to that of the
input data.</p>
</td>
      </tr>
      <tr>
        <td id="CSJ2K_Color_EsRgbColorSpaceMapper_getInternCompData_CSJ2K_j2k_image_DataBlk_System_Int32_" data-uid="CSJ2K.Color.EsRgbColorSpaceMapper.getInternCompData(CSJ2K.j2k.image.DataBlk,System.Int32)">
          <a class="xref" href="CSJ2K.Color.EsRgbColorSpaceMapper.getInternCompData.html#CSJ2K_Color_EsRgbColorSpaceMapper_getInternCompData_CSJ2K_j2k_image_DataBlk_System_Int32_">getInternCompData(DataBlk, int)</a>
        </td>
        <td class="markdown level1 summary"></td>
      </tr>
    </tbody>
  </table>

</div>
