ImageMakeWithPixels |
Type | operator |
Dictionary | LCB |
Library | LiveCode Builder |
Syntax | image of size <mSize> with pixels <mPixels>
|
Associations | com.livecode.canvas |
Summary | Creates a new image using raw pixel data.
|
Parameters | Name | Type | Description |
---|
mSize | | An expression which evaluates to a list of integers.
|
mPixels | | An expression which evaluates to binary data
|
|
Example |
variable tPixelData as Data
put the contents of file "image_argb_320x480.bin" into tPixelData
variable tImage as Image
put image of size [320, 480] with pixels tPixelData into tImage
|
Values | Name | Type | Description |
---|
return | | A new image of the given size, using the provided ARGB pixel data.
|
|
Description | Creates a new image using raw pixel data.
|
Tags | canvas |