Any specific tool or technique to convert binary and C-array images files from v8 to v9

I am currently working on a project using LVGL version 8.3, and I have successfully ported it to LVGL version 9.2. However, I am experiencing issues with image rendering. The binary and C-array files of the images that worked properly with LVGL v8.3 are not compatible with LVGL v9.2.

Here are the details of the images converted using the LVGL v8 online tool:

1. Binary Files
a)

  • Color Format: CF_TRUE_COLOR_ALPHA
  • Output Format: Binary RGB565 (Swapped)

b)

  • Color Format: CF_TRUE_COLOR
  • Output Format: Binary RGB565 (Swapped)

2. C-array Files

  • Color Format: CF_TRUE_COLOR_ALPHA
  • Output Format: C Array

Are there any specific settings I should be aware of when using these files compatible with LVGL v9.2?

Is there a specific tool or method to convert the binary and C-array files of images generated from LVGL v8 so that they are compatible with LVGL v9.2?

I would appreciate any assistance to resolve this issue or any alternative suggestions you may have.

Kind regards,
Amaresh

1 Like

take a look at this python script

https://gist.github.com/fbiego/946e5f97c9a2845dbb726f8e9a0dcea6