How can we open a image file through C program

Showing Answers 1 - 3 of 3 Answers

Sreekanth K

  • May 30th, 2006
 

Just Attach the image using FILE statements in C.

Handle(OPEN/CLOSE/MODIFY) the Image using File pointers. 

  Was this answer useful?  Yes

pragya

  • Jul 3rd, 2006
 

In C, generally we can open files having text format...

other types of files can be opened in binary format only using

file *fp;

fp=fopen("filename","rb+");// where b stands for binary format

  Was this answer useful?  Yes

Paul Thilak

  • Aug 9th, 2006
 

The BMP file normally has it's header format. To read the header format we need to create a structre. with the hbelp of this bmp header staructure, we can read the bmp file each character with the help of fopen() fn and plot those characters in the monitor with the help of monitor interrupt. repeat the process till bmp file core data is read. i would display the image. it's a big program. so i gave here the comressed info. if u more details.. contact to my email id.

Thanks,

A.Paul Thilak

Cognizant

  Was this answer useful?  Yes

Give your answer:

If you think the above answer is not correct, Please select a reason and add your answer below.

 

Related Answered Questions

 

Related Open Questions