08-02-2004, 10:35 PM
How can I bsave to an external file so that i can bload with a different program? And can some one give me a palatte explination...why you'd need a custom one?
BSAVE HELP
|
08-02-2004, 10:35 PM
How can I bsave to an external file so that i can bload with a different program? And can some one give me a palatte explination...why you'd need a custom one?
08-03-2004, 03:27 PM
http://members.tripod.com/~qb4lamerz/files/stuff2.zip
Found it on some wierd site. =P First hit on google "qbasic BSAVE code" Ok... onto the second question. You need a custom palette because the default mode 13h DOS palette only has 256 colours. What if you needed a completely different colour for your picture?! In that case you have to alter the palette. When you load a GIF or other picture into a QB program, it doesnt try to pick the "closest colour" in the current palette. Instead it totally changes the entire palette to match the image. But if you save a BSAVEd image using the original QB palette, then you dont need a custom one to BLOAD it.
08-03-2004, 07:24 PM
Ohhh...thanx for the link and the explination...is there a way I can load a BMP and save it as a BSV?
08-03-2004, 10:42 PM
Yep - Find a BMP loading program from somewhere (making one yourself is rather tricky) And just make some code that will save the screen to a BSAVE file, and put it on the end of the BMP loader. Then, when the BMP is finished loading, it will save it to a BSAVE file. Easy! =) If you need help finding a BMP loader, then goto qbnz.com and seach the downloads for BMP loaders.
|
« Next Oldest | Next Newest »
|