#include #include #include #include #define NBIT 8 /* bits per uchar, a source of non-portability */ Bitmap *rdpicfile(PICFILE *f, int ldepth){ int wid=PIC_WIDTH(f); int hgt=PIC_HEIGHT(f); int nchan=PIC_NCHAN(f); int w=1<cmap){ for(i=0,p=f->cmap;i!=1<