# CSJ2K.j2k.util.CodestreamManipulator.-ctor

## Content

<div class="doc-site-dotnet-api-container">



<h1 id="CSJ2K_j2k_util_CodestreamManipulator__ctor_" data-uid="CSJ2K.j2k.util.CodestreamManipulator.#ctor*">CodestreamManipulator Constructor
</h1>
<div class="markdown level0 summary"></div>
<div class="markdown level0 conceptual"></div>



<a id="CSJ2K_j2k_util_CodestreamManipulator__ctor_" data-uid="CSJ2K.j2k.util.CodestreamManipulator.#ctor*"></a>
<h4 id="CSJ2K_j2k_util_CodestreamManipulator__ctor_System_String_System_Int32_System_Int32_System_Boolean_System_Boolean_System_Boolean_System_Boolean_" data-uid="CSJ2K.j2k.util.CodestreamManipulator.#ctor(System.String,System.Int32,System.Int32,System.Boolean,System.Boolean,System.Boolean,System.Boolean)">CodestreamManipulator(string, int, int, bool, bool, bool, bool)</h4>
<div class="markdown level1 summary"><p>Instantiates a codestream manipulator..</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">public CodestreamManipulator(string outname, int nt, int pptp, bool ppm, bool ppt, bool tempSop, bool tempEph)</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Public Sub New(outname As String, nt As Integer, pptp As Integer, ppm As Boolean, ppt As Boolean, tempSop As Boolean, tempEph As Boolean)</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.string">string</a></td>
      <td><span class="parametername">outname</span></td>
      <td><p>The name of the original outfile</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.int32">int</a></td>
      <td><span class="parametername">nt</span></td>
      <td><p>The number of tiles in the image</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.int32">int</a></td>
      <td><span class="parametername">pptp</span></td>
      <td><p>Packets per tile-part. If zero, no division into tileparts
is performed</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.boolean">bool</a></td>
      <td><span class="parametername">ppm</span></td>
      <td><p>Flag indicating that PPM marker is used</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.boolean">bool</a></td>
      <td><span class="parametername">ppt</span></td>
      <td><p>Flag indicating that PPT marker is used</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.boolean">bool</a></td>
      <td><span class="parametername">tempSop</span></td>
      <td><p>Flag indicating whether SOP merker should be removed</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.boolean">bool</a></td>
      <td><span class="parametername">tempEph</span></td>
      <td><p>Flag indicating whether EPH merker should be removed</p>
</td>
    </tr>
  </tbody>
</table>
</div>
