Image.width

From MiniScript Wiki
Jump to navigation Jump to search

Image.width returns the width of the image, in pixels. (Read-only.)

Example

img = file.loadImage("/sys/pics/Dart.png")
print img.width