eclipse-threadx / guix

Eclipse ThreadX GUIX Studio provides a complete, embedded graphical user interface (GUI) library and design environment, facilitating the creation and maintenance of all graphical elements needed by your device.

Home Page:https://github.com/eclipse-threadx/rtos-docs/blob/main/rtos-docs/guix/index.md

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

How to uncompress compressed pixelmaps in GUIX?

automotiveUser opened this issue · comments

Is this request related to a particular hardware platform, SoC, board? Please describe.
No hardware platform related question.

Describe why you are asking for this support?
Hi, I want to draw a PNG file as background by using the graphics driver of my microcontroller (with hardware acceleration) which expects uncompressed data, let's say the image as byte array. So I need to use the GUIX driver interface function gx_display_driver_pixelmap_draw and implement it by myself by using my graphics driver. In the documentation (Chapter 4: GUIX Studio Resources) you write that optionally the pixelmaps can be compressed with a proprietary GUIX compression algorithm. Is there any way to decompress the pixelmap data since my graphics driver needs uncompressed data? Hint: I know that I can uncheck the "Compress" option, but I would like to use the compression feature to minimize the code size.

Thanks!