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