Dear Segger Team.
By now we have used emwin 5.32 in ABGR mode (with color conversion GUICC_M888) where we used to display RLE alpha channel only encoded bitmaps as button images.
This has worked so far but now we tried to update to 5.40 and we found that memory devices are losing the transparancy information when they call the color conversion api.
In 5.32 (ABGR) it was possible to use GUICC_M888_SetCustColorConv to assign custom conversion routines for bulk color <-> index conversion. However this does not work with 5.40 (ARGB) and the existing color conversion removes the alpha channel information although 32 bit memory devices are used.
As a result images with alpa channel information are not shown the same way in ARGB mode as it is done in ABGR mode.
To work around this it would be necessary to be able to assigne custom conversion routines for single and bulk conversion also in ARGB mode. We use a STM32 and this could be done using DMA2D without to lose the transparency feature even when GUIC_M888 is used.
In ABGR we can use our own conversion routines with DMA2D which keeps the alpha channel information during mixing and blending but this is not possible in ARGB
Is there any solution for that problem?
By now we have used emwin 5.32 in ABGR mode (with color conversion GUICC_M888) where we used to display RLE alpha channel only encoded bitmaps as button images.
This has worked so far but now we tried to update to 5.40 and we found that memory devices are losing the transparancy information when they call the color conversion api.
In 5.32 (ABGR) it was possible to use GUICC_M888_SetCustColorConv to assign custom conversion routines for bulk color <-> index conversion. However this does not work with 5.40 (ARGB) and the existing color conversion removes the alpha channel information although 32 bit memory devices are used.
As a result images with alpa channel information are not shown the same way in ARGB mode as it is done in ABGR mode.
To work around this it would be necessary to be able to assigne custom conversion routines for single and bulk conversion also in ARGB mode. We use a STM32 and this could be done using DMA2D without to lose the transparency feature even when GUIC_M888 is used.
In ABGR we can use our own conversion routines with DMA2D which keeps the alpha channel information during mixing and blending but this is not possible in ARGB
Is there any solution for that problem?