Provides the 32F746GDISCOVERY board driver, part of the STM32Cube BSP Component for STM32F7 series.
BSD 3-Clause "New" or "Revised" License
4
stars
3
forks
source link
BSP_LCD_DrawBitmap() doesn't account for padding #2
Open
lorc-dev opened 12 months ago
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)