avr-chat
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [avr-chat] Storing B&W bitmap images into Flash : file format sugges


From: Galen Seitz
Subject: Re: [avr-chat] Storing B&W bitmap images into Flash : file format suggestion ?
Date: Thu, 14 Jan 2010 15:48:25 -0800
User-agent: Thunderbird 2.0.0.22 (X11/20090625)

Vincent Trouilliez wrote:
Thanks Joerg and Jim !

If uncompressed B&W is the format, grab ImageMagick and install.  Then do:
convert filename.jpg myfile.xbm
The XBM image format (X bitmap format) is exactly a C source file:

I tried xbm under Gimp but it produces an array of 16bit integers
rather than bytes. I will try producing the xbm file using ImageMagik
as you suggest, maybe it produces an array of bytes, worth a look !

If not, well nevermind, you and others have given me plenty enough
information and code samples to sort me out "manually" so to speak.

Thanks again everyone for all the help, I must confess I am a little overwhelmed by so many useful replies, I am lucky ! :-D

Another option that I did not seen mentioned is the srecord tools. It can convert a binary file to a C array. These tools are quite useful for manipulating all sorts of hex and binary data files.

http://srecord.sourceforge.net/

--
Galen Seitz
address@hidden




reply via email to

[Prev in Thread] Current Thread [Next in Thread]