# GrapeCity.Documents.Imaging.Skia.PngFilterFlags

## Content

<div class="doc-site-dotnet-api-container">




  <h1 id="GrapeCity_Documents_Imaging_Skia_PngFilterFlags" data-uid="GrapeCity.Documents.Imaging.Skia.PngFilterFlags" class="text-break">PngFilterFlags Enum
</h1>
  <div class="markdown level0 summary"><p>Row filters to use when encoding a PNG.</p>
</div>
  <div class="markdown level0 conceptual"></div>
  <h6><strong>Namespace</strong>: <a class="xref" href="GrapeCity.Documents.Imaging.Skia.html">GrapeCity.Documents.Imaging.Skia</a></h6>
  <h6><strong>Assembly</strong>: DS.Documents.Imaging.Skia.dll</h6>
  <h5 id="GrapeCity_Documents_Imaging_Skia_PngFilterFlags_syntax">Syntax</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">[Flags]
public enum PngFilterFlags</code></pre>
  </div>
  <div class="codewrapper">
    <pre><code class="lang-vbnet hljs">&lt;Flags&gt;
Public Enum PngFilterFlags</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_Skia_PngFilterFlags_AllFilters">AllFilters</td>
        <td><p>Try all the filters.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Documents_Imaging_Skia_PngFilterFlags_Average">Average</td>
        <td><p>Use the average of the two neighboring pixels (left and above) to predict the value of a pixel.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Documents_Imaging_Skia_PngFilterFlags_NoFilters">NoFilters</td>
        <td><p>Do not use any filters.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Documents_Imaging_Skia_PngFilterFlags_None">None</td>
        <td><p>Transmit unmodified.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Documents_Imaging_Skia_PngFilterFlags_Paeth">Paeth</td>
        <td><p>Compute a simple linear function of the three neighboring pixels (left, above, upper left), then chooses as predictor the neighboring pixel closest to the computed value.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Documents_Imaging_Skia_PngFilterFlags_Sub">Sub</td>
        <td><p>Transmit the difference between each byte and the value of the corresponding byte of the prior pixel.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Documents_Imaging_Skia_PngFilterFlags_Up">Up</td>
        <td><p>Transmit the difference between each byte and the value of the corresponding byte of the pixel above.</p>
</td>
      </tr>
    </tbody>
  </table>
</div>
