Click or drag to resize

BitmapDataGetPixels Method

Gets an enumerable of pixels for each scan line from top to bottom.

Namespace:  Eto.Drawing
Assembly:  Eto (in Eto.dll) Version: 2.5.3-dev
Syntax
public IEnumerable<Color> GetPixels()

Return Value

Type: IEnumerableColor

[Missing <returns> documentation for "M:Eto.Drawing.BitmapData.GetPixels"]

Remarks
You can use this to translate the pixel data into an array, e.g.
int[] argbData = bitmapData.GetPixels().Select(p => p.ToArgb()).ToArray();
See Also