Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
jpg and tga
#21
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][Image: asylumsig.png][/url]
Reply
#22
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 ?
Reply
#23
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). Big Grin

-shiftLynx
img]http://www.cdsoft.co.uk/misc/shiftlynx.png[/img]
Reply
#24
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][Image: asylumsig.png][/url]
Reply
#25
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 Big Grin
url=http://www.random-seed.net][Image: asylumsig.png][/url]
Reply
#26
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. Smile

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. Smile

-shiftLynx
img]http://www.cdsoft.co.uk/misc/shiftlynx.png[/img]
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)