LUA Reference Guide
Search…
Bitmap.getSize(name)
Return width, height of a bitmap object
@status current Introduced in 2.2.0

Parameters

  • bitmap (pointer) point to a bitmap previously opened with Bitmap.open()

Return value

  • multiple returns 2 values:
    • (number) width in pixels
    • (number) height in pixels

Notice

Only available on Horus
Export as PDF
Copy link