image.width

From Inspired-Lua Wiki
Jump to: navigation, search

image.width is a function that is part of image.

This has been introduced in TI-Nspire OS 3.0 (Changes).


This function returns as an integer the width, in pixels, of the given image.

Syntax[edit]

image.width(image)

Parameter Type Description
image
TI.Image The image you want to the width of.

Example[edit]

imagewidth = image.width(theImage)

See also[edit]