parse
open override fun parse(svg: ByteArray, options: MapboxSignboardOptions): Expected<String, Bitmap>
Content copied to clipboard
The function converts a raw svg in ByteArray to Bitmap using MapboxSignboardOptions specified.
Return
Expected contains Bitmap if successful or error otherwise.
Parameters
svg
raw data in ByteArray
options
additional option to format the svg.