This documentation is for the old version. Go to the latest Graphics Mill docs

PixelFormatConverter Members

The PixelFormatConverter type exposes the following members.

Constructors

Name Description
Public method PixelFormatConverter

Creates and initializes new PixelFormatConverter class instance.

Methods

Name Description
Public method {dtor}

Enables using delete operator in C++ applications. It is strongly not recommended to use it directly.

Public method Abort

Aborts current operation.

(Inherited from SyncHandler.)
Public method ApplyTransform Overloaded.

Transforms given bitmap.

Public method Continue

Resumes execution of the operation previously paused with Pause() method.

(Inherited from SyncHandler.)
Public method ConvertArray Overloaded.

Converts several colors into another color space. These colors are represented by array.

Public method ConvertColor Overloaded.

Converts Color value into another color space.

Public method Dispose

Releases all resources used by this PixelFormatConverter.

(Overrides BitmapTransform.Dispose().)
Public method Equals (Inherited from Object.)
Public method GetHashCode (Inherited from Object.)
Public method GetType (Inherited from Object.)
Public method IsPixelFormatSupported

Verifies if bitmap with specified pixel format is supported by this transform.

(Inherited from BitmapTransform.)
Public method Lock

Locks the object.

(Inherited from SyncHandler.)
Protected method MemberwiseClone (Inherited from Object.)
Public method Pause

Pauses execution of the current operation.

(Inherited from SyncHandler.)
Public method ToString (Inherited from Object.)
Public method Unlock

Unlocks the object previously locked with method Lock().

(Inherited from SyncHandler.)
Public method WaitForCompletion

Suspends the calling thread until the operation currently run is completed.

(Inherited from SyncHandler.)

Properties

Name Description
Public property BackgroundColor

Gets/sets a background color used when alpha channel is flatten.

Public property BackgroundEnabled

Gets/sets value that specifies if it is necessary to use BackgroundColor value to flatten alpha channel when converting from pixel format with alpha to pixel format without it.

Public property BuildAdaptivePaletteWithAlpha

Gets/sets a value which specifies whether the alpha channel should be taken into account when building an adaptive palette.

Public property CmykColorProfile

Gets/sets an output color profile which is used to convert bitmap to CMYK color space.

Public property ColorManagementEngine

Gets/sets color management engine (module) which will be used during image transformation. Graphics Mill for .NET supports the following engines: LittleCMS and Adobe CMM. The property also allows to disable color management and perform transformation without color matching.

Public property ColorQuantizationAlgorithm

Gets/sets a color quantiztion algorithm used to reduce colors.

Public property Completed

Returns value indicating if the operation is currently running.

(Inherited from SyncHandler.)
Public property CustomPalette

Gets/sets a custom palette used during conversion to indexed pixel formats.

Public property DestinationPixelFormat

Gets/sets a destination pixel format.

Public property Dithering

Gets/sets dithering algorithm used when performing conversion to indexed pixel format.

Public property DitheringIntensity

Gets/sets dithering intensity used when performing conversion to indexed pixel format.

Public property ExceptionThrowEnabled

Gets/sets value that specifies if to throw exception in synchronous mode.

(Inherited from SyncHandler.)
Public property GrayScaleColorProfile

Gets/sets an output color profile which is used to convert bitmap to grayscale color space.

Public property Locked

Indicates if the object has been locked.

(Inherited from SyncHandler.)
Public property Opacity

Gets/sets a value which will initialize alpha channel when converting from pixel format which does not support alpha to pixel format which does.

Public property PaletteAlphaThreshold

Gets/sets a value which specifies the alpha threshold.

Public property PaletteAlphaThresholdUsed

Gets/sets a value which specifies whether the alpha threshold should be used when building an adaptive palette.

Public property PaletteEntryCount

Gets/sets the maximum number of colors in palette that should be used when performing conversion to an indexed pixel format.

Public property PaletteType

Gets/sets a value that specifies a palette used when performing conversion to indexed pixel format.

Public property Priority

Gets/sets a priority for the auxilary thread.

(Inherited from SyncHandler.)
Public property QuantizationTo8bBitsUsed

Gets/sets the number of bits which are in fact used for this channel.

Public property QuantizationTo8bOffset

Gets/sets the offset on which intensity of a pixel will be calculated.

Public property QuantizationTo8bScale

Gets/sets the range in which pixel intensity values will vary.

Public property RgbColorProfile

Gets/sets an output color profile which is used to convert bitmap to RGB color space.

Public property SupportedPixelFormats

Returns an array of pixel formats that are supported by this transform.

(Inherited from BitmapTransform.)
Public property SynchronizationMode

Gets/sets synchronization mode for the object.

(Inherited from SyncHandler.)
Public property TargetColorProfile

Gets/sets target device profile used for chain transformations.

Public property Timeout

Gets/sets value specifying maximum time for which object can be locked.

(Inherited from SyncHandler.)
Public property TransformationIntent

Gets/sets rendering intent used during color management.

Public property Unit

Gets/sets unit used to measure all the coordinates, sizes and other spatial values.

(Inherited from UnitConverterHandler.)

Events

Name Description
Public event Aborted

Fires when operation has been aborted.

(Inherited from SyncHandler.)
Public event Continued

Fires when operation has been resumed with Continue() method.

(Inherited from SyncHandler.)
Public event Paused

Fires when operation has been paused with Pause() method.

(Inherited from SyncHandler.)
Protected event Progress

Fires on the operation progress notifications.

(Inherited from SyncHandler.)
Public event Started

Fires after operation has been started.

(Inherited from SyncHandler.)
Public event Starting

Fires before operation is started.

(Inherited from SyncHandler.)
Public event Stopped

Fires after operation has been stopped.

(Inherited from SyncHandler.)
Public event Stopping

Fires before operation is stopped.

(Inherited from SyncHandler.)

See Also

Reference