cancel
Showing results for 
Search instead for 
Did you mean: 

convert image and icon to .c files in RGB565 and ARGB4444

hadi_ghr_e_61
Associate II
Posted on August 23, 2016 at 14:34

hi

good day

i need a program for convert image to .c with RGB565 and icon to .c with ARGB4444 format.

i need stm32 imager

can you share it please?

thank you
7 REPLIES 7
Walid FTITI_O
Senior II
Posted on August 23, 2016 at 16:45

Hi ghr.hadi,

I recommend to user the ''Bitmap converter for emWin'' that you find in the

http://www.st.com/en/embedded-software/stemwin.html

pachage at this path: STemWin_Library_V1.1.2\Libraries\STemWinLibrary522\Software

-Hannibal-

hadi_ghr_e_61
Associate II
Posted on August 24, 2016 at 02:07

Hi

i try this program but can not config it.

i need a .c file with ARGB4444 but can not find it in program menus.

can you please help me step by step for crate icon without background for use in my project ?

thank you dear

hadi_ghr_e_61
Associate II
Posted on August 24, 2016 at 02:35

i need .C file with format like this picture.

thank you for your helping

________________

Attachments :

Untitled.jpg : https://st--c.eu10.content.force.com/sfc/dist/version/download/?oid=00Db0000000YtG6&ids=0680X000006I03l&d=%2Fa%2F0X0000000bSt%2FYeCTLFOJkqHoWXbjmiQRHCnPqAmN1PY9Nm.v.1Dc5.M&asPdf=false
Walid FTITI_O
Senior II
Posted on August 24, 2016 at 11:13

Hi ghr.hadi,

After opening you BMP image on the tool , you just click ''save as''  and change the type from ''.bmp'' to ''.c''

-Hannibal-
hadi_ghr_e_61
Associate II
Posted on August 26, 2016 at 19:06

Hi

i was test it but not worked

i was attached an image before .

please check it and answer me.

can you share stm32 imager program with me please?

thank you for your helping

urasinov
Associate II
Posted on December 25, 2016 at 11:09

Does anybody found converter to ARGB4444. As I see 

Bitmap converter for emWin support ARGB8888 but ARGB4444 doesn't.

Posted on December 25, 2016 at 16:41

I'm not sure file dumpers are inherently complicated to code, especially when it is just a matter of loading a binary file with fopen, ftell, fread, and printf of 0x%02 values in a .C file/structure form.

Translating from one bitmap format to another, scaling size and colour space can get a bit more complicated. Review the data format(s) that emWin is processing and what form you can provide as an input.

Tips, Buy me a coffee, or three.. PayPal Venmo
Up vote any posts that you find helpful, it shows what's working..