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
36 lines (20 loc) · 1.51 KB
/
Copy pathimage.lcdoc
File metadata and controls
36 lines (20 loc) · 1.51 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
Name: image
Type: object
Syntax: image
Summary: A <control> that contains a <bitmap|bitmapped> picture.
Synonyms: img
Introduced: 1.0
OS: mac,windows,linux,ios,android
Platforms: desktop,server,web,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.
The image object has a number of properties and messages associated with it. To see a list of messages that can be sent to an image as a result of user actions or internal LiveCode events, open the "LiveCode Language Dictionary" page of the main Documentation window, ensure that the image column is visible and use sort and filter to bring the relevant entries to the top
>*Note:* Animated GIFs cannot be resized in LiveCode.
References: filename (property), imageData (property), resizeQuality (property), templateImage (keyword), file (keyword), image (keyword), control (keyword), image (object), graphic (object), property (glossary), paint tool (glossary), bitmap (glossary), command (glossary), object type (glossary)
Tags: objects