Does the size of the export file vary depending on the type of license?

What do you want to achieve?

It would be preferable if the exported file maintained the 8-bit indexed color format when the image asset is in 8-bit indexed color.

Is there a chance this feature is offered in the paid version?

What have you tried so far?

I tried converting a 24-bit image to 8-bit and then exporting it, but the output shows up as ‘.header.cf = LV_IMG_CF_TRUE_COLOR’.

Screenshot or video

Others

  • SquareLine Studio version:
    1.3.1
  • Operating system:
    Windows
  • Target hardware:
    Eclipse

I have come to learn that functions such as rotation cannot be applied to indexed colors. For the sake of file size, I plan to adjust and apply it by using the C Array method or reading the file directly.

Exporting indexed images is not supported now, but is on our roadmap.

Until that, if you really need indexed images, I suggest converted them manually with Online image converter - BMP, JPG or PNG to C array or binary | LVGL

This is not a good answer because data using online image converters cannot be rotated or alpha processed.
must use a decoder such as PNG or GIF to change it to a format that allows image synthesis.

That’s true. It’s like something for something. Smaller image, less RAM usage, but no advanced features.

You can also use the plain uncompressed pixel array. (C array)

I haven’t seen the source code, so I can’t be certain, but it appears that image compositing is done in a memory buffer for faster image processing. The issue seems to arise because the image buffers have different formats. The image operation function needs to be developed in such a way that it handles images with differing bit counts separately.
To use LVGL effectively, images should be converted to a different bit count before processing to save memory. Therefore, I plan to store the files in NVS and load them as 32-bit when needed.

I don’t plan to use that approach since I expect to load all pixel arrays into memory.