IM_GET_CMAP
im_get_cmap - read colormap from KUIM image
Synopsis
void im_get_cmap(Image, Red,Green,Blue)
IM_TYPE *Image;
char *Red;
char *Green;
char *Blue;
Description
The im_get_cmap routine returns three 256 entry color map arrays from
the header of an open KUIM image. This information was previously
written using im_put_cmap. The parameters to this routine are:
Files
Source is in $KUIM/src/libIM
See Also
im_create, im_open, im_read, im_write, im_get_title, im_put_title,
im_get_cmap, im_put_cmap, im_alloc1D, im_alloc2D, im_alloc3D,
im_free1D, im_free2D, im_free3D.
Author
John M. Gauch
Electrical Engineering and Computer Science
University of Kansas
Diagnostics
Upon occurrence of any error condition, a message is printed and
the program exits.