Skip to main content
GMeur
Associate III
November 24, 2022
Question

How to retrieve a bitmap size at compile time?

  • November 24, 2022
  • 1 reply
  • 700 views

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.

This topic has been closed for replies.

1 reply

MM..1
Super User
November 24, 2022

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