Image.height

From MiniScript Wiki
Revision as of 04:43, 19 August 2021 by JoeStrout (talk | contribs)
(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