Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

BSP_LCD_DrawBitmap() doesn't account for padding #2

Open
lorc-dev opened this issue Nov 8, 2023 · 1 comment · May be fixed by #3
Open

BSP_LCD_DrawBitmap() doesn't account for padding #2

lorc-dev opened this issue Nov 8, 2023 · 1 comment · May be fixed by #3
Assignees
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

Comments

@lorc-dev
Copy link

lorc-dev commented Nov 8, 2023

Describe the set-up

  • Board: STM32F746G-DISCO
  • STM32Cube_FW_F7_V1.17.1

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)

@ALABSTM ALABSTM added enhancement New feature or request bsp BSP-related issue or pull-request labels Nov 14, 2023
@ALABSTM ALABSTM assigned ASEHSTM and unassigned RJMSTM Aug 9, 2024
@ASEHSTM
Copy link

ASEHSTM commented Aug 28, 2024

ST Internal Reference: 189656

@ASEHSTM ASEHSTM added the internal bug tracker Issue confirmed and reported into a ticket in the internal bug tracking system label Aug 28, 2024
@ASEHSTM ASEHSTM moved this from To do to In progress in stm32cube-mcu-bsp-dashboard Aug 28, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
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
Projects
Status: In progress
4 participants