Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!swrinde!zaphod.mps.ohio-state.edu!sol.ctr.columbia.edu!emory!mephisto!udel!eplrx7!cristy From: cristy@eplrx7.uucp (John Cristy) Newsgroups: comp.windows.x Subject: XCreateImage & XPutImage Optimization Message-ID: <1990Jul24.030503.4818@eplrx7.uucp> Date: 24 Jul 90 03:05:03 GMT Sender: usenet@ee.udel.EDU Organization: Internet Lines: 19 I am trying to determine the most optimal parameters and image format to XCreateImage that minimizes the work the server must do to display an image via XPutImage. I suspect creating the image data in the bit-order and byte-order of the server is most efficient, but I developed doubts when I looked at XImUtils.c and noticed the code normalizes all data to LSB byte-order and bit-order. Is it more efficient to generate the image data in LSBFirst byte-order and bit-order? Also are other parameters crucial in minimizing server overhead. For example, are 32 bit scanline pads more efficient than 8 bit? This is the last issue I need to resolve before I make my image processing software available on expo.lcs.mit.edu in a few days. A prompt reply will be appreciated. Please Email your suggestions to cristy@dupont.com. Thanks in advance. -- The UUCP Mailer