API Reference
Class
PgmReader
Decodes PGM (P5/P2) images to RGBA buffers.
Inheritance
- Object
- PgmReader
Methods
public static Byte[] DecodeRgba32(ReadOnlySpan<Byte> pgm, out Int32 width, out Int32 height) #Returns:
Byte[]Decodes a PGM image to an RGBA buffer.
Parameters
- pgm System.ReadOnlySpan{System.Byte}
- width System.Int32@
- height System.Int32@