Image.height

From MiniScript Wiki
Revision as of 15:09, 2 April 2020 by JoeStrout (talk | contribs) (Created page with "<c>Image.height</c> returns the height of the image, in pixels. (Read-only.) == Example == <ms>img = file.loadImage("/sys/pics/Dart.png") print img.height</ms> Categ...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

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

Example

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