cancel
Showing results for 
Search instead for 
Did you mean: 

How to retrieve a bitmap size at compile time?

GMeur
Senior

Is there a way to retrieve the bitmap size at compile time ?

I find it a bit redundant to get the size of a bitmap at run time as the size is known after touchgfx generates all the images.

Why not put some #define in the BitmapDataBase with the size (width and height) of each image?

Thanks.

1 REPLY 1
MM..1
Chief II

Is waste of define, back to school and W x H x F =