API Reference
Class
XbmWriter
Writes XBM (X Bitmap) images from RGBA buffers.
Inheritance
- Object
- XbmWriter
Methods
public static String WriteRgba32(Int32 width, Int32 height, ReadOnlySpan<Byte> rgba, Int32 stride, String name = null) #Returns:
StringWrites an XBM string from an RGBA buffer.
Parameters
- width System.Int32
- height System.Int32
- rgba System.ReadOnlySpan{System.Byte}
- stride System.Int32
- name System.String = null
public static String WriteRgba32Scanlines(Int32 width, Int32 height, ReadOnlySpan<Byte> scanlines, Int32 stride, String name = null) #Returns:
StringWrites an XBM string from a PNG scanline buffer (filter byte per row).
Parameters
- width System.Int32
- height System.Int32
- scanlines System.ReadOnlySpan{System.Byte}
- stride System.Int32
- name System.String = null