Table of Contents

Class WIC.BitmapFrameDecode

Namespace
Xui.Runtime.Windows
Assembly
Xui.Runtime.Windows.dll

Wraps IWICBitmapFrameDecode — a single decoded image frame. Inherits IWICBitmapSource methods (GetSize, CopyPixels) at vtable [3] and [7].

public class WIC.BitmapFrameDecode : COM.Unknown, IDisposable
Inheritance
WIC.BitmapFrameDecode
Implements
Inherited Members

Constructors

BitmapFrameDecode(void*)

public BitmapFrameDecode(void* ptr)

Parameters

ptr void*

Fields

IID

public static readonly Guid IID

Field Value

Guid

Methods

CopyPixels(uint, uint, byte*)

Copies decoded pixels into buffer (full image, no rect clipping). vtable [7] — IWICBitmapSource::CopyPixels

public void CopyPixels(uint stride, uint bufferSize, byte* buffer)

Parameters

stride uint
bufferSize uint
buffer byte*

GetSize(out uint, out uint)

Returns the pixel dimensions of the frame. vtable [3] — IWICBitmapSource::GetSize

public void GetSize(out uint width, out uint height)

Parameters

width uint
height uint