Click or drag to resize

AtalaPixelFormatChanger Class

This is the standard PixelFormat changer class.
Inheritance Hierarchy

Namespace:  Atalasoft.Imaging
Assembly:  Atalasoft.dotImage (in Atalasoft.dotImage.dll) Version: 11.0.0.0.0.297 (.NET 4.5.2, x86)
Syntax
public class AtalaPixelFormatChanger : PixelFormatChanger

The AtalaPixelFormatChanger type exposes the following members.

Constructors
  NameDescription
Public methodAtalaPixelFormatChanger
Initializes a new instance of the AtalaPixelFormatChanger class
Top
Properties
  NameDescription
Public propertyDitherErrorMax
Gets or sets the diffusion or dither error that's applied to an image when converting to from a continuous tone to colormapped format.
Top
Methods
  NameDescription
Public methodChangePixelFormat
Allocate a new AtalaImage based on the sourceImage, using the requested pixel format.
(Inherited from PixelFormatChanger.)
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Protected methodLowLevelChangePixelFormat
Lows level implementation to change pixel format.
(Overrides PixelFormatChangerLowLevelChangePixelFormat(AtalaImage, PixelFormat, ColorProfile).)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Top
Remarks

The AtalaPixelFormatChanger does standard conversion between all differing pixel formats. Note that when converting from a pixel format that represents a large amount of data to a pixel format that represents a lesser amount of data, information will be lost. Therefore, it is not possible to perform an accurate round trip conversion.

When converting to a palette image (8-bit indexed or less) this will use Floyd Steinberg Dithering. See DocumentPixelFormatChanger for converting document images.

See Also

Reference

DocumentPixelFormatChanger Class