PeachDrawing.Core

PeachDrawing.Core.Image

Image.GetPixels() Method

This image’s decoded pixels, or null when it has none to decode (a vector Form XObject tile - see GraphicsAdapter.CreateTile - has no raster content at all). Lets any Canvas backend sample an image’s actual pixels without knowing which concrete Image decoded them - the backend-agnostic replacement for downcasting to a specific concrete image type and reading its native decoded form directly.

public virtual System.Nullable<PeachDrawing.Core.PixelBuffer> GetPixels();

Returns

System.Nullable<PixelBuffer>