BSP_LCD_DrawBitmap() doesn't account for padding #2
Labels
bsp
BSP-related issue or pull-request
enhancement
New feature or request
internal bug tracker
Issue confirmed and reported into a ticket in the internal bug tracking system
Describe the set-up
Describe the bug (skip if none)
The BSP_LCD_DrawBitmap function doesn't account for the padding at the end of each line in the pixel array of bitmap images.
This causes the image to 'slip' with bitmaps that have padding to make each line 4 byte aligned, as can be seen in the following posts:
How to reproduce the bug (skip if none)
Use BSP_LCD_DrawBitmap() with a bitmap image that has padding (e.g. RGB888 and a width of 93px)
The text was updated successfully, but these errors were encountered: