Qbasicnews.com

Full Version: Urgent help needed with putting a picture in qbasic
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
ok hey i need to find out before wed. oct. 19 how to put a picture from like say my pictures in my documents just a mpeg or jpeg you know something that i could just take a picture of and upload it with my cam into a folder and then put it on quick basic ya know but i'm not sure how to do this if anyone knows and can help me please email me urgently @ bolh2crew@hotmail.com please and thanks

Anonymous

youll look back.

see if you can get your pictures into .bmp. if so, itll be MUCH easier to get them in, as opposed to .jpg, .gif. from scratch that is. theres probably libs for that

make them bmp. thats the point.
Quote:see if you can get your pictures into .bmp [...] theres probably libs for that

Or you could just use a windows program and save hassle of finding a lib to convert jpeg to bmp ;)
where do you think i can find a converter do you have a site for it or w/e if so please send it to me and what are the actual commands do you think you could show me?
Quote:what are the actual commands do you think you could show me?
PEEK
POKE
OPEN
FOR
NEXT
DIM
GET
OUT or PALETTE
CLOSE


I probably forgot some...
you might need to show an example.
example would be nice
Waste a few seconds and do a search for JPEG loader or BMP loader or GIF loader..

Antoni wrote a JPEG loader, for example..

As for BMPs you can make your own loader quite easily as the format is pretty simple..
if i knew the format then i would, but, for know the 16x16 bitmaps dont take too long to code using PSET, but when u get into the boss bitmaps with like 32x32 or buildings that could be like 64x64 then im in trouble