AtalaPixelFormatChanger Class |
Namespace: Atalasoft.Imaging
The AtalaPixelFormatChanger type exposes the following members.
| Name | Description | |
|---|---|---|
| AtalaPixelFormatChanger | Initializes a new instance of the AtalaPixelFormatChanger class |
| Name | Description | |
|---|---|---|
| DitherErrorMax | Gets or sets the diffusion or dither error that's applied to an image when converting to from a continuous
tone to colormapped format. |
| Name | Description | |
|---|---|---|
| ChangePixelFormat | Allocate a new AtalaImage based on the sourceImage, using the requested pixel format. (Inherited from PixelFormatChanger.) | |
| Equals | Determines whether the specified object is equal to the current object. (Inherited from Object.) | |
| Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) | |
| GetHashCode | Serves as the default hash function. (Inherited from Object.) | |
| GetType | Gets the Type of the current instance. (Inherited from Object.) | |
| LowLevelChangePixelFormat |
Lows level implementation to change pixel format.
(Overrides PixelFormatChangerLowLevelChangePixelFormat(AtalaImage, PixelFormat, ColorProfile).) | |
| MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
| ToString | Returns a string that represents the current object. (Inherited from Object.) |
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.