PeachImage
PeachImage.Image
Image.GetPixelSpan() Method
Gets a zero-copy view of the entire tightly-packed pixel buffer.
public System.Span<byte> GetPixelSpan();
Returns
Exceptions
System.ObjectDisposedException
This image has been disposed.
System.InvalidOperationException
This image was produced by Frames and a later frame has since been
pulled from the same enumeration — see the Frames remarks for the frame-validity contract.