[]
        
(Showing Draft Content)

GrapeCity.Documents.Imaging.Windows.FormatConverter

Class FormatConverter

Namespace
GrapeCity.Documents.Imaging.Windows
Assembly
GcDocs.Imaging.Windows.dll

Converts the image data from one pixel format to another.

public class FormatConverter : BaseTransform
Inheritance
object
FormatConverter
Inherited Members
object.ToString()
object.Equals(object)
object.Equals(object, object)
object.ReferenceEquals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()

Constructors

FormatConverter()

Initializes a new instance of the FormatConverter class.

public FormatConverter()

FormatConverter(WicPixelFormat)

Initializes a new instance of the FormatConverter class.

public FormatConverter(WicPixelFormat destinationFormat)

Parameters

destinationFormat WicPixelFormat

The destination pixel format.

Properties

AlphaThresholdPercent

Gets or sets the alpha threshold to use for conversion.

public double AlphaThresholdPercent { get; set; }

Property Value

double

DestinationFormat

Gets or sets the destination pixel format.

public WicPixelFormat DestinationFormat { get; set; }

Property Value

WicPixelFormat

DitherType

Gets or sets the type of dither algorithm used for conversion.

public WicDitherType DitherType { get; set; }

Property Value

WicDitherType

Palette

Gets or sets the palette to use for conversion.

public GcWicBitmap.Palette Palette { get; set; }

Property Value

GcWicBitmap.Palette

PaletteTranslate

Gets or sets the palette translation type to use for conversion.

public WicPaletteType PaletteTranslate { get; set; }

Property Value

WicPaletteType