Hi,
I have a .png image, converted to .c using Bin2C.exe tool.
I used GUI_PNG_Draw function to display the icon on screen.
The icon was displayed with missing pixels or some shift I don't know exactly what is the issue.
Important to note, that I tried displaying the same image using GUI_DrawBitmap using Bitmap Converter and the icon was displayed perfectly!
Also, its a must for me to use PNG and not bitmap bmp image.
I attached the result of displaying the PNG using GUI_PNG_Draw also the result of diplaying the same PNG image converted to bitmap BMP using GUI_DrawBitmap.
Attached also the original PN image.
I have a .png image, converted to .c using Bin2C.exe tool.
I used GUI_PNG_Draw function to display the icon on screen.
The icon was displayed with missing pixels or some shift I don't know exactly what is the issue.
Important to note, that I tried displaying the same image using GUI_DrawBitmap using Bitmap Converter and the icon was displayed perfectly!
Also, its a must for me to use PNG and not bitmap bmp image.
I attached the result of displaying the PNG using GUI_PNG_Draw also the result of diplaying the same PNG image converted to bitmap BMP using GUI_DrawBitmap.
Attached also the original PN image.
The post was edited 2 times, last by Sysmop226 ().