Class ColorTransform
[Guid("B66F034F-D0E2-40ab-B436-6DE39E321A94")]
public class ColorTransform : BitmapSource
- Inheritance
-
ColorTransform
- Inherited Members
Constructors
ColorTransform(ImagingFactory)
Initializes a new instance of the ColorTransform class.
public ColorTransform(ImagingFactory factory)
Parameters
factory
ImagingFactoryThe factory.
ColorTransform(nint)
public ColorTransform(nint nativePtr)
Parameters
nativePtr
nint
Methods
Initialize(BitmapSource, ColorContext, ColorContext, Guid)
Initializes an ColorTransform with a BitmapSource and transforms it from one ColorContext to another.
public void Initialize(BitmapSource bitmapSourceRef, ColorContext contextSourceRef, ColorContext contextDestRef, Guid ixelFmtDestRef)
Parameters
bitmapSourceRef
BitmapSourceNo documentation.
contextSourceRef
ColorContextNo documentation.
contextDestRef
ColorContextNo documentation.
ixelFmtDestRef
GuidNo documentation.
Remarks
The currently supported formats for the pIContextSource and pixelFmtDest parameters are:
(Windows?8 and later) (Windows?8 and later) -
(Windows?8 and later) -
(Windows?8 and later) -
(Windows?8 and later)
In order to get correct behavior from a color transform, the input and output pixel formats must be compatible with the source and destination color profiles. For example, an sRGB destination color profile will produce incorrect results when used with a CMYK destination pixel format.
Operators
explicit operator ColorTransform(nint)
public static explicit operator ColorTransform(nint nativePtr)
Parameters
nativePtr
nint