Table of Contents

Method GetRgb

Namespace
DocWright.Core.Imaging
Assembly
DocWright.Core.dll

GetRgb(int, int, out byte, out byte, out byte)

Reads one pixel as RGB, converting from whatever colour model the image carries.

public void GetRgb(int x, int y, out byte r, out byte g, out byte b)

Parameters

x int

Pixel column.

y int

Pixel row.

r byte

Receives the red sample.

g byte

Receives the green sample.

b byte

Receives the blue sample.