McDonald, Michael-p7438c wrote: > Am I allowed to change the value of the XImage byte_order field? And if > I do, will subsequent XPutImage() calls do the "right thing"?
Yes, you can change the byte_order field to match the byte order of your image. XPutImage will take care of swapping your bits around to match what the server expects. See: http://cgit.freedesktop.org/xorg/lib/libX11/tree/src/PutImage.c particularly the function "SendZImage", if you want the gory details. Peter Harris -- Open Text Connectivity Solutions Group Peter Harris http://www.opentext.com/connectivity Research and Development Phone: +1 905 762 6001 phar...@opentext.com Toll Free: 1 877 359 4866 _______________________________________________ xorg mailing list xorg@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/xorg