My lvgl show a pic Blurred display

Description

img load form fatfs.
The raw pic is this:
bg
But in the displayer, it is this:


The bin’s format is raw true color.

What MCU/Processor/Board and compiler are you using?

MCU:GD32F303RC

What do you want to achieve?

make this img display normal

What have you tried so far?

i had changed other bin format like true color with aphle,but it does not work.

Code to reproduce

I use this bin file like this:

lv_img_set_src(ui->Home_Background_img, "F:bg.bin");

Screenshot and/or video

true pic:bg
pic in displayer:

Please ,helo,save me.:sob:

Hi, it is possible that your display’s flush function is not working correctly. Have you ever been able to display an image correctly in the past?

Can you post your (display model)_flush() function, found in your drivers folder? The file containing this function should be named something like (displaymodel).c, where displaymodel is the model number of the physical display you are using.

Also, provide some more info, are you using an RTOS? How are you initializing LVGL? can you post your gui_task() function from your main.c or whatever function that you are initializing LVGL from?

3Q your replay.
I’ve been a little busy lately,forget to end this topic.
This problem has been soloved.
The source of this problem is the wrong bin file.This bin file was dameged when i transfer it to flash.
I had fixed FileTranster,and this problem is gone.
Thanks again your help.

1 Like