Hi,
we are using emWin V5.48 for an application running on STM32 microcontroller and windows desktop (as emulator).
The microcontroller uses a DMA2D controller.
The problem we are facing is that screenshots taken from the microcontroller are slightly different to screenshots taken from the desktop application.
They only differ in areas with antialiased text and the color difference is very little.
As I found out, the difference comes from different behaviour of the function
used in desktop mode and
used on microcontroller.
Example:
The function
Thanks for any help.
we are using emWin V5.48 for an application running on STM32 microcontroller and windows desktop (as emulator).
The microcontroller uses a DMA2D controller.
The problem we are facing is that screenshots taken from the microcontroller are slightly different to screenshots taken from the desktop application.
They only differ in areas with antialiased text and the color difference is very little.
As I found out, the difference comes from different behaviour of the function
used in desktop mode and
Example:
The function
_DrawCharAA4_NoTrans
calculates LCD_COLOR _aColor[16];
when drawing a white text on a blue background.The different results can be seen in the attached images.Thanks for any help.
The post was edited 2 times, last by thni_macio ().