[]
        
(Showing Draft Content)

C1.Util.DX.WIC.BitmapDecoder

BitmapDecoder Class

IWICBitmapDecoder

Implements
Namespace: C1.Util.DX.WIC
Assembly: C1.Win.C1DX.4.8.dll
Syntax
[Guid("9EDDE9E7-8DEE-47ea-99DF-E6FAF2ED44BF")]
public class BitmapDecoder : ComObject, IDisposable, IUnknown

Constructors

Name Description
BitmapDecoder(IntPtr)

Initializes a new instance of the BitmapDecoder class.

Methods

Name Description
CopyPalette(Palette)

HRESULT IWICBitmapDecoder::CopyPalette([In, Optional] IWICPalette* pIPalette)

Create(BitmapDecoderInfo)

Initializes a new instance of the BitmapDecoder class from a BitmapDecoderInfo.

Create(ImagingFactory, IStream, DecodeOptions)

Initializes a new instance of the BitmapDecoder class from a IStream.

Create(ImagingFactory, IStream, Guid, DecodeOptions)

Initializes a new instance of the BitmapDecoder class from a IStream.

Create(ImagingFactory, Guid)

Initializes a new instance of the BitmapDecoder class from a guid. BitmapDecoderGuids for a list of default supported decoder.

Create(ImagingFactory, Guid, Guid)

Initializes a new instance of the BitmapDecoder class.

Create(ImagingFactory, FileStream, DecodeOptions)

Initializes a new instance of the BitmapDecoder class from a filestream.

Create(ImagingFactory, FileStream, Guid, DecodeOptions)

Initializes a new instance of the BitmapDecoder class from a filestream.

Create(ImagingFactory, Stream, DecodeOptions)

Initializes a new instance of the BitmapDecoder class from a IStream.

Create(ImagingFactory, Stream, Guid, DecodeOptions)

Initializes a new instance of the BitmapDecoder class from a IStream.

Create(ImagingFactory, string, NativeFileAccess, DecodeOptions)

Initializes a new instance of the BitmapDecoder class from a file.

Create(ImagingFactory, string, DecodeOptions)

Initializes a new instance of the BitmapDecoder class from a file in read mode.

Create(ImagingFactory, string, Guid?, NativeFileAccess, DecodeOptions)

Initializes a new instance of the BitmapDecoder class from a file.

Dispose(bool)

Clean up any resources being used.

GetColorContexts(int, ComArray<ColorContext>, out int)

HRESULT IWICBitmapDecoder::GetColorContexts([In] unsigned int cCount,[InOut, Buffer, Optional] IWICColorContext** ppIColorContexts,[Out] unsigned int* pcActualCount)

GetColorContexts(int, ColorContext[], out int)

HRESULT IWICBitmapDecoder::GetColorContexts([In] unsigned int cCount,[InOut, Buffer, Optional] IWICColorContext** ppIColorContexts,[Out] unsigned int* pcActualCount)

GetContainerFormat()

HRESULT IWICBitmapDecoder::GetContainerFormat([Out] GUID* pguidContainerFormat)

GetDecoderInfo()

HRESULT IWICBitmapDecoder::GetDecoderInfo([Out] IWICBitmapDecoderInfo** ppIDecoderInfo)

GetFrame(int)

HRESULT IWICBitmapDecoder::GetFrame([In] unsigned int index,[Out] IWICBitmapFrameDecode** ppIBitmapFrame)

GetFrameCount()

HRESULT IWICBitmapDecoder::GetFrameCount([Out] unsigned int* pCount)

GetMetadataQueryReader()

HRESULT IWICBitmapDecoder::GetMetadataQueryReader([Out] IWICMetadataQueryReader** ppIMetadataQueryReader)

GetPreview()

HRESULT IWICBitmapDecoder::GetPreview([Out] IWICBitmapSource** ppIBitmapSource)

GetThumbnail()

HRESULT IWICBitmapDecoder::GetThumbnail([Out] IWICBitmapSource** ppIThumbnail)

Initialize(IStream, DecodeOptions)

Initializes the decoder with the provided stream.

QueryCapability(IStream)

Queries the capabilities of the decoder based on the specified stream.

TryGetColorContexts(ImagingFactory)

Get the ColorContext of the image (if any)

TryGetColorContexts(ImagingFactory, out ColorContext[])

Get the ColorContext of the image (if any)

Operators

Name Description
explicit operator BitmapDecoder(IntPtr)

Performs an explicit conversion from IntPtr to BitmapDecoder.