Why the const image array needs many times RO-data space?

What do you want to achieve?

use the const image array

What have you tried so far?

A 5kb const image array is generated by SquareLine Studio, and set “lv_img_set_src(ui_aimg, &ui_img_a_png);”
After compile it in Keil. I found the RO-data size will increase 21Kb.

Screenshot or video

Others

  • SquareLine Studio version:
  • Operating system:
  • Target hardware:

It’s because SquareLine decompresses the image to a raw pixel map and not converts the PNG as it is.