Table of Contents

Method PixelsArgbToRgba

Namespace
Alternet.Drawing
Assembly
Alternet.UI.Common.dll

PixelsArgbToRgba(int, int, ARGBValue*, bool)

Converts ARGB to RGBA pixels.

public static RGBAValue[] PixelsArgbToRgba(int width, int height, ARGBValue* buffer, bool opaque)

Parameters

width int

Image width.

height int

Image height.

buffer ARGBValue*

Buffer with pixels.

opaque bool

Is image opaque or not.

Returns

RGBAValue[]