# GrapeCity.Documents.Imaging.Windows.WicPaletteType

## Content

<div class="doc-site-dotnet-api-container">




  <h1 id="GrapeCity_Documents_Imaging_Windows_WicPaletteType" data-uid="GrapeCity.Documents.Imaging.Windows.WicPaletteType" class="text-break">WicPaletteType Enum
</h1>
  <div class="markdown level0 summary"><p>Specifies the type of palette used for indexed pixel formats.</p>
</div>
  <div class="markdown level0 conceptual"></div>
  <h6><strong>Namespace</strong>: <a class="xref" href="GrapeCity.Documents.Imaging.Windows.html">GrapeCity.Documents.Imaging.Windows</a></h6>
  <h6><strong>Assembly</strong>: DS.Documents.Imaging.Windows.dll</h6>
  <h5 id="GrapeCity_Documents_Imaging_Windows_WicPaletteType_syntax">Syntax</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public enum WicPaletteType</code></pre>
  </div>
  <div class="codewrapper">
    <pre><code class="lang-vbnet hljs">Public Enum WicPaletteType</code></pre>
  </div>
  <h3 id="fields">Fields
</h3>
  <table class="table table-bordered table-condensed">
    <thead>
      <tr>
        <th>Name</th>
        <th>Description</th>
      </tr>
    <thead>
    </thead></thead><tbody>
      <tr>
        <td id="GrapeCity_Documents_Imaging_Windows_WicPaletteType_Custom">Custom</td>
        <td><p>An arbitrary custom palette provided by caller.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Documents_Imaging_Windows_WicPaletteType_FixedBW">FixedBW</td>
        <td><p>A black and white palette.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Documents_Imaging_Windows_WicPaletteType_FixedGray16">FixedGray16</td>
        <td><p>A palette that has 16 shades of gray.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Documents_Imaging_Windows_WicPaletteType_FixedGray256">FixedGray256</td>
        <td><p>A palette that has 256 shades of gray.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Documents_Imaging_Windows_WicPaletteType_FixedGray4">FixedGray4</td>
        <td><p>A palette that has 4 shades of gray.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Documents_Imaging_Windows_WicPaletteType_FixedHalftone125">FixedHalftone125</td>
        <td><p>A palette that has 5 intensity levels of each primary: 125-color on-off primaries and the 16 system colors added. With duplicates removed, 133 colors are available.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Documents_Imaging_Windows_WicPaletteType_FixedHalftone216">FixedHalftone216</td>
        <td><p>A palette that has 6 intensity levels of each primary: 216-color on-off primaries and the 16 system colors added. With duplicates removed, 224 colors are available.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Documents_Imaging_Windows_WicPaletteType_FixedHalftone252">FixedHalftone252</td>
        <td><p>A palette that has its 252-color on-off primaries and the 16 system colors added. With duplicates removed, 256 colors are available.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Documents_Imaging_Windows_WicPaletteType_FixedHalftone256">FixedHalftone256</td>
        <td><p>A palette that has its 256-color on-off primaries and the 16 system colors added. With duplicates removed, 256 colors are available.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Documents_Imaging_Windows_WicPaletteType_FixedHalftone27">FixedHalftone27</td>
        <td><p>A palette that has 3 intensity levels of each primary: 27-color on-off primaries and the 16 system colors added. With duplicates removed, 35 colors are available.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Documents_Imaging_Windows_WicPaletteType_FixedHalftone64">FixedHalftone64</td>
        <td><p>A palette that has 4 intensity levels of each primary: 64-color on-off primaries and the 16 system colors added. With duplicates removed, 72 colors are available.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Documents_Imaging_Windows_WicPaletteType_FixedHalftone8">FixedHalftone8</td>
        <td><p>A palette that has its 8-color on-off primaries and the 16 system colors added. With duplicates removed, 16 colors are available.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Documents_Imaging_Windows_WicPaletteType_FixedWebPalette">FixedWebPalette</td>
        <td><p>A palette that has 6 intensity levels of each primary: 216-color on-off primaries and the 16 system colors added. With duplicates removed, 224 colors are available.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Documents_Imaging_Windows_WicPaletteType_MedianCut">MedianCut</td>
        <td><p>An optimal palette generated using a median-cut algorithm. Derived from the colors in an image.</p>
</td>
      </tr>
    </tbody>
  </table>
</div>
