Search Results
Search results 1-4 of 4.
This site uses cookies. By continuing to browse this site, you are agreeing to our Cookie Policy.
-
Dear All, I'm newbie and I would like to implement landscape/portrait switching, please guide me! My simple task is like this: [img]http://www.segger2.com/data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAARwAAACYCAIAAAC5wMHNAAAIKUlEQVR4nO3dL5LiWhiG8SylTapGsgAEcmRnB1RlC4hxqKMxqWqJQIxGjcwG4rui2gU5ggXkiu/OqTOBl+/S0N3UPc+j+JMEpprfJDlJoNhsNgsStW070kmvr69f/Zd53H78+FEsFovNZtPSScvlcr1ef/UH+BHbbrffv3//6r/PI/bz58+np6diwf/HovV6Daqzbbfb5XL51e/iEXt7ewPVpUClyhbV8XjszhUnmKJq27ZpmnT+9G5a0zTH49HWdxfegU1mtycLT59y57V…
-
Dear Adrian, Thanks for your fast reply! I tried the files, complie no error!! However, I find that to use the GUI_PNG_Draw function, the pFileData must point to a real .png file (which contains .png header, channel, data...). So the BmpCvt does not help in this case, we have to use a hex editor, ex: HxD, to export a .c file from .png image. Correct me if I am wrong!? Thanks for your time!
-
Dear All, I use Segger BmpCvt to open a .png image, then use its save as feature to save to a .c file, select option 'true color with alpha channel'. then I use an API declared in GUI.h: int GUI_PNG_Draw (const void * pFileData, int DataSize, int x0, int y0); But I face compile error due to symbol GUI_PNG_Draw is undefined?? Please advice me how to draw a .png image, I did try GUI_BMP_Draw but I have to convert the .png image to true color before using this function. Thanks for your time!