IMAGE *im_binfile( name, xs, ys, b, off )
int xs, ys, b, off;
im_image( void *buffer, int width, int height, int bands, int format )
DESCRIPTIONim_binfile(3) maps the file named, and returns an image descriptor which looks very like the sort of thing that im_mmapin(3) returns.
The parameters specify the image width, height, number of bands and offset in bytes from the start of the file.
im_image(3) makes an IMAGE deriptor from an area of pixels in memory. The memory buffer will not be freed when the IMAGE is closed, use im_add_close_callback() if you want this.
RETURN VALUEThe functions return NULL on error.
AUTHORN. Dessipris - 11/04/1990