Image Library

The image API includes the following functions and data types:

To use the functions and data types that this image API offers you need to open an io stream, which is managed by the io_open() and io_close() functions. The io_open() function is used to associate an io_stream_t value with image data (a file, TCIP/IP socket, or memory buffer). The io_close() function releases the input stream and frees resources. Since the io_open() and io_close() functions are not part of the <img.h> header, you need to include the <io/io.h> header file, which includes the <img.h> header file within it.

Last modified: 2014-05-14

Got questions about leaving a comment? Get answers from our Disqus FAQ.

comments powered by Disqus