KEVIN KRATZER

How to convert GIF to HEX formatted so 52259 can display image as a web server

Discussion created by KEVIN KRATZER on Jun 16, 2010
Latest reply on Jun 17, 2010 by Daniel Lundin

I need to know how to convert GIF to HEX formatted so 52259 can display image as a web server.

 

The example software that came with it has this kind of hex image file structure.

 

          static const unsigned char data_header_gif[] = {
          /* /header.gif */
          0x47, 0x49, 0x46, 0x38, 0x39, 0x61, 0xde, 0x03, 0x32, 00,
          0xb3, 00, 00, 0x99, 0x98, 0x98, 0xf9, 0xf7, 0xf6, 0xc4,
          0xca, 0xcb, 0x62, 0x60, 0x60, 0xf6, 0x98, 0x69, 0x20, 0x1c,

         ect. . .

I found a free program that can convert a GIF file to a hex file, but it lists the hex in one long sting of numbers like below:

 

         64F0B245AE48A2DD67301A4437C60809C651EA862A3BF31D3584B5225C0E32F26A   ect. . .  and nearly to infinity.

 

What ways are available to convert from the GIF file to a formatted HEX file?

 

Thanks

Outcomes