![]() Note that the “return to background color” disposal method seems to switch on whether the last graphical control extension had transparency set to 1. GitHub was the commit that introduced this change.It looks like consider LV_COOR_DEPTH to lower memory usage When the gif decoder is initialized, the canvas is filled with the background color, and full opacity. It looks to be related to how transparent backgrounds are handled. It’s harder to tell with the ghost, but you can see the outline of the bounding box near the bottom of the screen. In these two examples, a colored background flashes before the GIF reverts to its original transparent state. Lv_obj_align(gif, LV_ALIGN_CENTER, 0, 0) While (xSemaphoreTake(xGuiSemaphore, portMAX_DELAY) != pdTRUE) Using the LVGL simulator on Eclipse (same issue)Ĭode to reproduce SemaphoreHandle_t xGuiSemaphore = get_semaphore().Trying different variations of the CF_RAW color format when using the online converter.I would like to be able to play GIF all the way through and have it retain its transparent background. What MCU/Processor/Board and compiler are you using?ĮSP32 Lyra-T/gcc What LVGL version are you using? I have also observed cases where a white background persists, but the bounding box around the image is transparent. Other times, it flashes a different color. Sometimes, the background flashes white before turning transparent again. ![]() It is worth noting that I am currently converting my GIFs to C arrays with a CF_RAW color format using LVGL’s online image converter tool. I am getting a weird background on my GIFs as I cycle through them. ![]()
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |