PngFilterMode enumeration

0 out of 1 rated this helpful - Rate this topic

Specifies the filter used to optimize the image prior to image compression in PNG images.

Syntax


var value = Windows.Graphics.Imaging.PngFilterMode.automatic;

Attributes

VersionAttribute(NTDDI_WIN8)

Members

The PngFilterMode enumeration has these members.

MemberValueDescription
Automatic | automatic0

The filter type will be chosen automatically.

None | none1

The image is unmodified.

Sub | sub2

The Sub type filter is applied.

Up | up3

The Up filter type is applied.

Average | average4

The Average type filter is applied.

Paeth | paeth5

The Paeth type filter is applied.

Adaptive | adaptive6

The Adaptive type filter is applied.

Remarks

The PNG filter modes only affect compression efficiency and not image quality. None does not perform any filtering and is typically the fastest but consumes the most space. Sub, Up, Average and Paeth filtering perform differently across various images. Adaptive filtering attempts to select the most efficient of the previous filter modes for each scanline in the image. This typically performs the slowest but consumes the least space.

Requirements

Minimum supported client

Windows 8

Minimum supported server

Windows Server 2012

Namespace

Windows.Graphics.Imaging
Windows::Graphics::Imaging [C++]

Metadata

Windows.winmd

 

 

Build date: 12/4/2012

Did you find this helpful?
(1500 characters remaining)
© 2013 Microsoft. All rights reserved.