Image.setData

Specifies the contents of the image as a string. The string should contain binary data or, for some formats, base64-encoded data (this is currently guaranteed to be supported for PNG and GIF images). A set file takes precedence over the setting of data.

class Image
setData
(
this T
)
(
string data
)

Parameters

data string

The image data.

Return Value

Type: auto

This image to aid method chaining.

Meta