Image:getDimensions

Returns the dimensions of the Image, in pixels.

width, height = Image:getDimensions()

Arguments

None

Returns

NameTypeDescription
widthnumberThe width of the Image, in pixels.
heightnumberThe height of the Image, in pixels.

See also