View image picture bmp on dos

Asked By 0 points N/A Posted on -
qa-featured

Hi,

I have a bunch of codes for viewing files using the dos platform but none of them is to view image picture BMP on dos.

Can you share commands to view images on dos?

And if there is a way to resize the pictures or borders, please include them if you have some information.

It will help a lot.

SHARE
Best Answer by Jose K Vincent
Answered By 20 points N/A #145580

View image picture bmp on dos

qa-featured

Viewing image picture BMP on dos is not possible. You could be able to do some black & white; white imagery with ASM, but not with C. Or assuming you mean a real dos as opposed to a console, then here's a link that could help: http://www.brackeen.com/vga/source/bc31/bitmap.c.html.

This program demonstrates drawing bitmaps, including transparent bitmaps.

Best Answer
Best Answer
Answered By 60 points N/A #145582

View image picture bmp on dos

qa-featured

Hello Justin,

Viewing image files in DOS is not possible as DOS does not supports graphics, but if you want to load some bitmap files then some code with C can help you with the same but remember the image size will be less that the screen size.

It will be 8bit image and you cannot get same screen resolution.

I am sharing one code sample that will help you to achieve the same.

Have a look at the code snippet.

Thanks.

Login/Register to Answer

Related Questions