0

Is there any inbuilt function in C language by which one can directly access image contents?

6
Contributors
5
Replies
8
Views
9 Years
Discussion Span
Last Post by dwks
0

You can use game libary, just like Allegro, gtk+. Functions that belong these libary can load image and sound...

0

You can read image files in your program in a standard way, if you want to write the reader yourself. wotsit.org is a good reference for this, as already mentioned.

Or you can use a library to read image files into your program (which I would recommend). I can think of at least one such library: http://openil.sourceforge.net/

Displaying images requires a library for sure. You can use SDL and SDL_Image or Allegro (cross-platform graphics libraries) to do this, or the native Win32 API (which is really a library too).

I only personally have experience with the SDL -- if you want help displaying images in the SDL, I'd be glad to provide it.

This topic has been dead for over six months. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.