CodeGlyphX logo
CodeGlyphX

API Reference

Class

XpmReader

Namespace CodeGlyphX.Rendering.Xpm
Assembly CodeGlyphX
Modifiers static

Decodes XPM images to RGBA buffers.

Inheritance

  • Object
  • XpmReader

Methods

public static Byte[] DecodeRgba32(ReadOnlySpan<Byte> xpm, out Int32 width, out Int32 height) #
Returns: Byte[]

Decodes an XPM image to an RGBA buffer.

Parameters

xpm System.ReadOnlySpan{System.Byte} requiredposition: 0
width System.Int32@ requiredposition: 1
height System.Int32@ requiredposition: 2