Detach from the library
#include <img.h> void img_lib_detach( img_lib_t ilib );
img
This function detaches from the image library and frees all associated resources.
Image library
img_lib_attach()