Image:getDimensions

Edit

Returns the dimensions of the Image, in pixels.

width, height = Image:getDimensions()

Arguments

None

Returns

NameTypeDescription
widthnumber The width of the Image, in pixels.
heightnumber The height of the Image, in pixels.

See also