Computing.Net > Forums > Programming > Display an image in DOS

Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to start participating now! Also, be sure to check out the New User Guide.

Display an image in DOS

Reply to Message Icon

Name: antique
Date: April 29, 2005 at 12:46:43 Pacific
OS: BOSS 0.001
CPU/Ram: more than I need
Comment:

I am trying to display a full-screen image
(or flash screen) in DOS for a spacific
number of seconds. I can write batch files,
I can write basic (such as qbasic), and I
can write c++ (using a Windows Borland
product).

I don't care which I use to get the job
done, as long as I can get it to work. I am
only just learning c++, but there are
several qbasic processes I used to use to do
similar things, such as load a bsv file and
sleep, but it distorts the image. When I
try to compensate, the computer is reset.

I've tried searching the web for source code
that would display the image in bmp format,
but they seem to only display the image
properly if it is a large black square. I
don't care what format of image file I have
to use either. Even if it is only 16
colours with a 320*200 resolution. The best
image I have for this purpose, however,
happens to be 256 colours.

I appologise if I make no sense. If you
understand enough to help, any help will be
pleasing to me :)



Sponsored Link
Ads by Google

Response Number 1
Name: Mechanix2Go
Date: April 29, 2005 at 22:53:12 Pacific
Reply:

The only thing that comes to mind is an image handler from Alchemy Mind Works which will, among other things, convert an image to a self-displaying exe.

Maybe you could use that and then implement in your code the wait time to quit display [maybe output a BREAK or ESC] and go to the next step.


M2


If at first you don't succeed, you're about average.


0

Response Number 2
Name: Fozzie
Date: April 30, 2005 at 18:40:00 Pacific
Reply:

Google to the rescue.

http://www.philipz.com/qb/source.htm

(source code for bmp loaders in qbasic)


0

Response Number 3
Name: antique
Date: May 2, 2005 at 09:29:39 Pacific
Reply:

Fozzie, the source code at that site works
perfectly with extremely mild editing!
Thanks for the help!

%00


0

Sponsored Link
Ads by Google
Reply to Message Icon

Related Posts

See More







Post Locked

This post is quite old and has been locked from receiving new replies. Please create a new posting instead.


Go to Programming Forum Home


Sponsored links

Ads by Google


Results for: Display an image in DOS

opening an image in python www.computing.net/answers/programming/opening-an-image-in-python/14922.html

display Tiff file in DOS/C/TSR www.computing.net/answers/programming/display-tiff-file-in-dosctsr/2195.html

loading image www.computing.net/answers/programming/loading-image/879.html