[]
IWICColorTransform
[Guid("B66F034F-D0E2-40ab-B436-6DE39E321A94")]
public class ColorTransform : BitmapSource, IDisposable, IUnknown
Initializes a new instance of the ColorTransform class.
public ColorTransform(IntPtr nativePtr)
nativePtr
System.IntPtrThe native pointer.
Initializes a new instance of the ColorTransform class.
public static ColorTransform Create(ImagingFactory factory)
factory
ImagingFactoryThe factory.
HRESULT IWICColorTransform::Initialize([In, Optional] IWICBitmapSource* pIBitmapSource,[In, Optional] IWICColorContext* pIContextSource,[In, Optional] IWICColorContext* pIContextDest,[In] const GUID& pixelFmtDest)
public void Initialize(BitmapSource bitmapSourceRef, ColorContext contextSourceRef, ColorContext contextDestRef, Guid pixelFmtDestRef)
bitmapSourceRef
BitmapSourcecontextSourceRef
ColorContextcontextDestRef
ColorContextpixelFmtDestRef
System.GuidPerforms an explicit conversion from System.IntPtr to ColorTransform.
public static explicit operator ColorTransform(IntPtr nativePointer)
nativePointer
System.IntPtr