LUA Reference Guide
2.8
Search
⌃K
EdgeTX 2.8 Lua Reference Guide
Introduction
Part I - Script Type Overview
Part II - EdgeTX Lua API Programming Guide
Part III - EdgeTX Lua API Reference
Constants
General Functions
Model Functions
Lcd Functions
Bitmap Functions
Bitmap.getSize(name)
Bitmap.open(name)
Bitmap.resize(bitmap, width, height)
Bitmap.toMask(bitmap)
Filesystem
Part IV - Advanced Topics
Appendix
Powered By
GitBook
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
Previous
Bitmap Functions
Next
Bitmap.open(name)
Last modified
6mo ago