Difference between revisions of "Image.width"

From MiniScript Wiki
Jump to navigation Jump to search
m
 
Line 7: Line 7:
  
 
[[Category:Mini Micro]]
 
[[Category:Mini Micro]]
 +
[[Category:Soda]]

Latest revision as of 04:43, 19 August 2021

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

Example

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