Posts: 442
Threads: 107
Joined: Feb 2005
this is gonna be the dumbest question i've prob ever asked....can you convert a bmp to data..lol, so i could just copy paste it and use it like , well...data??? i think that would probably end up being really slow, but is it possible?
url=http://www.random-seed.net]
[/url]
Posts: 251
Threads: 22
Joined: Dec 2004
Quote:MS says explicitly in his web that installing GDI+ independently of any software distribution is a license violation and a lot more lawyer's blah blah..
Didn't know about that :oops:
Are you sure ?
Posts: 320
Threads: 9
Joined: Dec 2004
Quote:this is gonna be the dumbest question i've prob ever asked....can you convert a bmp to data..lol, so i could just copy paste it and use it like , well...data??? i think that would probably end up being really slow, but is it possible?
Here you go:
http://download.cdsoft.co.uk/code/fb-img2dat.zip
It outputs the data statements to console, so redirect the output to catch the code if you want (more info is at the top of the source file).
-shiftLynx
img]http://www.cdsoft.co.uk/misc/shiftlynx.png[/img]
Posts: 442
Threads: 107
Joined: Feb 2005
i got it to work, but i cant get the data to my bas file...tried everything!!! tried test.bmp > prog.bas and all i get is error's
url=http://www.random-seed.net]
[/url]
Posts: 442
Threads: 107
Joined: Feb 2005
heh...nevermind...i got an idea, i changed the source to wait a little while, so i could open through double clik icon, then select all, copy paste .... lol, simple
url=http://www.random-seed.net]
[/url]
Posts: 320
Threads: 9
Joined: Dec 2004
Oh, I see... I suppose you must have tried to do the > from when the program asked you for the parameters. Sorry I didn't explain that too well.
I meant if you run it from command line, you can redirect the output of the program. So from cmd, you would do: img2dat test.bmp > code.bas
Heh. Good idea to modify the code though.
-shiftLynx
img]http://www.cdsoft.co.uk/misc/shiftlynx.png[/img]