English Deutsch Français Italiano Español Português 繁體中文 Bahasa Indonesia Tiếng Việt ภาษาไทย
All categories

Is it possible to display the bmp images in C language.If yes can you please give me the code for that?

2006-08-20 17:04:06 · 4 answers · asked by raghuram k 1 in Computers & Internet Programming & Design

4 answers

Yes you can, you just need to know in what format the file is arranged. The file format you can harness in your program by using structs and classes just as Windows designed the bmp file. Basically I can only help you with 8bit files (i.e., a 8-bit color table) but for more I could give you the link for a few header files for 16 bit, 24 bit and even RLE compressed files.

If you need more help mail me: hansum_rahul@yahoo.com

2006-08-23 05:46:30 · answer #1 · answered by Rahul Ghose 4 · 0 0

you can display bmp images in c language, to do this you must be good in programing in graphics mode. see graphics.h and its working class.

i am afraid we do not carry code with us , so sorry to say i don't have code now.

Good Luck lol

2006-08-21 00:13:13 · answer #2 · answered by OrangeApple 5 · 2 0

That is impossible! For using BMP images you need at least C++ for that because C++ itself called as object oriented programming. C is for doing calculations, remoting, sensing and etc., it can capture the movements with sensing to capture the movement we must draw the lines or circles to image that.

OK I thought it is tough to understand my answer

2006-08-21 00:20:45 · answer #3 · answered by JJ 4 · 0 2

In ANSI C, no. This is something that is OS dependent.

2006-08-21 00:09:57 · answer #4 · answered by retroman 3 · 0 0

fedest.com, questions and answers