int x, y;
unsigned int x, y;
GetImagePixels8(image, width, height, pmap)    XImage *image;    unsigned int width;    unsigned int height;    PixelsMap *pmap;{    unsigned int *iptr;    unsigned char *data;    int x, y;    unsigned long lbt;    Pixel pixel;    int depth;    data = (unsigned char *) image->data;    iptr = pmap->pixelindex;    depth = image->depth;    lbt = low_bits_table[depth];    for (y = 0; y < height; y++)	for (x = 0; x < width; x++, iptr++) {	    pixel = data[ZINDEX8(x, y, image)];	    if (depth != 8)		pixel &= lbt;	    if (storePixel(pixel, pmap, iptr))		return (XpmNoMemory);	}    return (XpmSuccess);}