ImageMakeFromData

Typeoperator
DictionaryLCB
LibraryLiveCode Builder
Syntax
image from data <mData>
Associationscom.livecode.canvas
Summary

Creates a new image.

Parameters
NameTypeDescription
mData

An expression which evaluates to binary data

Example
// Load image from a block of data
variable tData
put the contents of file "images/logo.png" into tData

variable tImage
put image from data tData into tImage
Values
NameTypeDescription
return

A new image decoded from the data provided.

Description

Creates a new image.

Tagscanvas