XImageByteOrder() XImageByteOrder() Name XImageByteOrder, ImageByteOrder - get server's byte order. Synopsis int XImageByteOrder(display) Display *display; Arguments display Specifies a connection to an X server; returned from XOpenDisplay(). Returns LSBFirst or MSBFirst. Description XImageByteOrder() specifies the required byte order for images for each scanline unit in XY format (bitmap) or for each pixel value in Z format. It can return either LSBFirst or MSBFirst. The C language macro ImageByteOrder() is equivalent and slightly more efficient. See Also XGetImage(), XPutImage(). Xlib - Macro Equivalents XImageByteOrder()