Get LCDBitmapTable properties (height, width, number of frames) in C?


Hi! Using the C API, I can get properties about LCDBitmaps such as image height and width using getBitmapData. However, there doesn't appear to be an equivalent function for LCDBitmapTable.

Given an LCDBitmapTable, I would like a function to get properties such the number of sprites in the table, and the height and width of each sprite.

(There appears to be Lua function that could help me here,, however it appears that I cannot invoke that Lua function from C because although there is a 'pushBitmap' function in pd_api_lua.h, there is no corresponding 'pushBitmapTable' function)