lehors@modja.inria.fr (Arnaud Le Hors) (08/28/90)
Trying to send a pixmap to a server on a monochrome display (visual->class == StaticGray && visual->depth == 1) I've been looking around and found out in the source of xloadimage written by Jim Frost the following comment: /* if the destination depth is not a multiple of 8, then we send each * plane as a bitmap because otherwise we would have to pack the pixel * data and the XImage format is pretty vague about how that should * be done. this is not as fast as it would be if it were packed but * it should be a lot more portable and only slightly slower. */ Isn't there really no standard way to do this ? I'll appreciate any hint, thanks in advance. -- Arnaud LE HORS BULL Research FRANCE -- Koala Project | Email : lehors@mirsa.inria.fr Inria - Sophia Antipolis | Phone : (33) 93 65 77 71 2004, Route des Lucioles | Telex : 97 00 50 F 06565 Valbonne CEDEX France | Fax : (33) 93 65 77 66