forked from livecode/livecode
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathimage.lcdoc
More file actions
45 lines (29 loc) · 1.15 KB
/
image.lcdoc
File metadata and controls
45 lines (29 loc) · 1.15 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
Name: image
Synonyms: img
Type: object
Syntax: image
Summary:
A <control> that contains a <bitmap|bitmapped> picture.
Introduced: 1.0
OS: mac, windows, linux, ios, android
Platforms: desktop, server, mobile
Example:
hide image "Blinking Star"
Example:
export image ID 9234 to file "Test Image.jpg"
Description:
Use the <image> <object type> to hold photographs, icons, and
decorative elements, and to allow the user to paint.
Each image contains a bitmapped picture, which can either be imported
with the import <command> or created using the <paint tool|paint
tools>. An <image(keyword)> can display either its own data, or a <file>
specified by the <image(object)|image's> <filename> <property>.
An image is contained in a card, group, or background. Images cannot
contain other objects.
>*Note:* Animated GIFs cannot be resized in LiveCode.
References: property (glossary), paint tool (glossary), bitmap (glossary),
command (glossary), object type (glossary), templateImage (keyword),
file (keyword), image (keyword), control (keyword), image (object),
graphic (object), filename (property), imageData (property),
resizeQuality (property)
Tags: objects