RWS@ZERMATT.LCS.MIT.EDU (Robert Scheifler) (10/15/88)
Date: 15 Oct 88 01:23:17 GMT From: apple!bionet!agate!lands.ced.berkeley.edu!janp@bloom-beacon.mit.edu (Jan Prusack) impanel = XGetImage(dpy,grwin,87,70,396,146,AllPlanes,XYPixmap); The XImage struct after the call contains the following values: depth :8 bytes_per_line :52 bits_per_pixel :1 The question is why is bytes_per_line only 52? This seems to indicate that the XGetImage is pulling out only one BIT per pixel from the window. You asked for XYPixmap, as opposed to ZPixmap. You effectively got back 8 bitmaps, which are stored in bitmap (bit-per-pixel) format in the XImage. The depth of the XImage indicates the number of planes stored.