I'm trying to implement a image loader that uses XImage(for the speed offered by direct access to XImage::data). The problem is that Xlib is so poorly documented that it's difficult to find anything beyond the manpages(or a PDF version of them) and this especially includes XImage. I've been searching for days but could not find any docs that explain the XImage::data format or offer a good example of using XImage with loaded data(No hard coded values or colors). While using the same DIB format in BMP files seems the most logical to me some sources I've looked at seem to indicate that the format is just a list of pixel values. Does anyone have experience working with XImage or know where to find source of a program that loads BMPs or PCMs or TIFFs and uses XImage to display them?
__________________________________ Do you Yahoo!? SBC Yahoo! DSL - Now only $29.95 per month! http://sbc.yahoo.com _______________________________________________ XFree86 mailing list [EMAIL PROTECTED] http://XFree86.Org/mailman/listinfo/xfree86