How to retrieve a bitmap size at compile time?
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
2022-11-24 5:16 AM
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.
Labels:
- Labels:
-
TouchGFX
This discussion is locked. Please start a new topic to ask your question.
1 REPLY 1
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
2022-11-24 7:36 AM
Is waste of define, back to school and W x H x F =
