WLJS LogoWLJS Notebook

ExportByteArray

ExportByteArray[expr, "format"] generates a ByteArray object corresponding to expr exported in the specified format.

ExportByteArray[exprs, elems] generates a ByteArray object by treating exprs as elements specified by elems.

Examples

Export an image to byte array:

ExportByteArray[Graphics[Circle[]], "PNG"]

Please visit the official Wolfram Language Reference for more details.

On this page