Difference between revisions of "Image.width"

From MiniScript Wiki
Jump to navigation Jump to search
m (JoeStrout moved page RawData.length to Image.width without leaving a redirect: wrong title)
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 ==

Revision as of 22:26, 1 April 2020

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

Example

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