Difference between revisions of "Image.width"
Jump to navigation
Jump to search
(Created page with "<c>Image.width</c> returns the width of the image, in pixels. (Read-only.) == Example == <ms>img = file.loadImage("/sys/pics/Dart.png")</ms> Category:Mini Micro") |
m |
||
(3 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
− | <c>Image.width</c> returns the width of the image, in pixels. (Read-only.) | + | <c>[[Image]].width</c> returns the width of the image, in pixels. (Read-only.) |
== Example == | == Example == | ||
− | <ms>img = file.loadImage("/sys/pics/Dart.png")</ms> | + | <ms>img = file.loadImage("/sys/pics/Dart.png") |
+ | print img.width</ms> | ||
[[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