Dear technical support,
please could you help us with process of creating c file from *.dta file for drawing a png image using GUI_DrawStreamedBitmap function?
We have a 480x360 RGB LCD display using display driver GUIDRV_LIN_16 and color conversion GUICC_M565. We have one frame buffer with 2Bytes per pixel and another 110 x 1024 bytes assigned to emWin library.
We would like to create custom graphics mostly from png based objects like buttons, menu items, icons etc. As GUI_DrawBitmap is very slow drawing method, we would like to switch to GUI_DrawStreamedBitmap which seems to be much more faster.
Now we have problems to generate StreamedBitmam c source files from picture like *.png or *.jpg. We use BmpCvtST.exe to generate *.dta file from *.png and than Bin2C.exe to generate *.c source file from *.dta file. But pictures generated in this way will never show using GUI_DrawStreamedBitmap function.
When I use *.c picture file from this thread GUI_DrawStreamedBitmapEX() we get SEGGER logo displayed (only problem is, that logo is RED, not BLUE), but we don't have success with any our *.c source file generated with steps described above.
Please could you help us with generating streamed bitmap source files?
Thank you,
Pavel
please could you help us with process of creating c file from *.dta file for drawing a png image using GUI_DrawStreamedBitmap function?
We have a 480x360 RGB LCD display using display driver GUIDRV_LIN_16 and color conversion GUICC_M565. We have one frame buffer with 2Bytes per pixel and another 110 x 1024 bytes assigned to emWin library.
We would like to create custom graphics mostly from png based objects like buttons, menu items, icons etc. As GUI_DrawBitmap is very slow drawing method, we would like to switch to GUI_DrawStreamedBitmap which seems to be much more faster.
Now we have problems to generate StreamedBitmam c source files from picture like *.png or *.jpg. We use BmpCvtST.exe to generate *.dta file from *.png and than Bin2C.exe to generate *.c source file from *.dta file. But pictures generated in this way will never show using GUI_DrawStreamedBitmap function.
When I use *.c picture file from this thread GUI_DrawStreamedBitmapEX() we get SEGGER logo displayed (only problem is, that logo is RED, not BLUE), but we don't have success with any our *.c source file generated with steps described above.
Please could you help us with generating streamed bitmap source files?
Thank you,
Pavel