From: Endlisnis Newsgroups: comp.os.msdos.djgpp Subject: Re: - How put a image whit only one file ?- Date: Sat, 05 Sep 1998 11:54:13 -0300 Organization: NBTel Internet Lines: 16 Message-ID: <35F15095.E4E92BD0@unb.ca> References: <6srhq4$lc5$1 AT talia DOT mad DOT ibernet DOT es> NNTP-Posting-Host: fctnts10c54.nbnet.nb.ca Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Precedence: bulk Qin wrote: > How can i put a image on the screen (320x200) without a bmp or dat file, > only with a exe file? > I have Allegro but i don't know how do it. > Anybody have a sprite editor that give a file in c format for put the image > on the screen? Well, what you could do is take your image, (in whatever format you want), and use 'bin2h' which will convert it into an array which you can then include into your program and read that data onto the screen. -- (\/) Endlisnis (\/) s257m AT unb DOT ca Endlisnis AT GeoCities DOT com Endlis AT nbnet DOT nb DOT ca