[comp.windows.x] XGif on 4 plane displays!!

franco@bbn.com (Frank A. Lonigro) (02/17/89)

I know that the docs for xgif state that you must have at least 8 planes
of color to display the various gif pictures, but it seems to me that it
should still work on 4 planes of color if the pictures I want to display
have less than 16 colors in them.  The problem I'm having is that xgif
fails in XPutImage with :

[828]% xgif thing.gif
xgif:  thing.gif is 640x350, 16 colors  (of which 12 are used)
xgif:  thing.gif stripped 7 bits
X Protocol error detected by server: parameter mismatch
  Failed request major op code 72 X_PutImage
  Failed request minor op code 0 (if applicable)
  ResourceID 0x12 in failed request (if applicable)
  Serial number of failed request 135
  Current serial number in output stream 136
[829]% 

	Can and does xgif work on 4 plane displays and if so, how do I
get it to work??  I have the source code, so I can make changes to it
if I have to.  I've already tried changing the "depth" perameter in the
XCreateImage() call to 4 from 8 and it still bombs in the same way.

Thanks in advance,
-franco

===================================  ===   =========   =====================
=   Frank A. Lonigro              =  ===   =========   =====================
=   franco@bbn.com                =  ===         ===         ===         ===
=   franco%bbn.com@relay.cs.net   =  ===   ===   ===   ===   ===   ===   ===
=   ...!harvard!bbn!franco        =  ===   ===   ===   ===   ===   ===   ===
=   BBN Inc., Cambridge, Mass.    =  ===         ===         ===   ===   ===
===================================  =======================================