SKImage.PeekPixels Method

Definition

Overloads

PeekPixels(SKPixmap)

Returns the pixmap if the image is raster-based.

PeekPixels()

Returns the pixmap if the image is raster-based.

PeekPixels(SKPixmap)

Returns the pixmap if the image is raster-based.

public bool PeekPixels (SkiaSharp.SKPixmap pixmap);

Parameters

pixmap
SKPixmap

The pixmap to receive the pixel information.

Returns

Returns true on success, or false if the image does not have access to pixel data.

PeekPixels()

Returns the pixmap if the image is raster-based.

public SkiaSharp.SKPixmap PeekPixels ();

Returns

Returns the pixmap, or null if the image does not have access to pixel data.

Applies to