The image API includes the following functions and data types:
To use the functionalities that this image API offers, along with the data types and functions in here, you need to open an io stream, which is managed by the io_open() and io_close() functions. The io_open() 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() 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. Therefore, to work with the image API, you can simply include the io/io.h header file.