Accusoft.TwainPro9.Net
Filter Enumeration




The filters available for PNG compression.
Syntax
'Declaration
 
Public Enum Filter 
   Inherits System.Enum
'Usage
 
Dim instance As Filter
public enum Filter : System.Enum 
__value public enum Filter : public System.Enum 
public enum class Filter : public System.Enum 
Members
MemberValueDescription
Average3The Average filter uses the average of the two neighboring pixels (left and above) to predict the value of a pixel.
None0Fastest, no filter is used.
Optimal5Optimal compressed file size, at the expense of speed.
Paeth4The Paeth filter computes 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. This technique is due to Alan W. Paeth.
Sub1The Sub filter transmits the difference between each byte and the value of the corresponding byte of the prior pixel.
Up2The Up filter is just like the Sub filter except that the pixel immediately above the current pixel, rather than just to its left, is used as the predictor.
Inheritance Hierarchy

System.Object
   System.ValueType
      System.Enum
         Accusoft.TwainProSdk.Filter

See Also

Reference

Accusoft.TwainProSdk Namespace

 

 


©2017. Accusoft Corporation. All Rights Reserved.

Send Feedback