Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!yale!mintaka!bloom-beacon!JUPITER.RISC.COM!kbj From: kbj@JUPITER.RISC.COM (Ken Johnson) Newsgroups: comp.windows.x Subject: Help with Ximages and/or pixmaps Message-ID: <9010100124.AA13419@jupiter.risc.com> Date: 10 Oct 90 01:24:19 GMT Sender: root@athena.mit.edu (Wizard A. Root) Organization: The Internet Lines: 29 Question: I am working with XView 2.0 and have had a lot of success so far. I am now at the point where I need to display 2D 8 bit images in windows. I need different sized images and sometimes I need several dozen small (40x40) images on the screen. I have the raw data in arrays of unsigned char image[][]; Do i use pixmaps or do I use XImages? How do I use them? I understand some of the differences but I'd like to know the pros and cons of both. It is my understanding that I use the low level Xlib functions to do the dirty work. I've managed to get bounding rectangles and such up but haven't had luck with the actual XImages. HELP. We thank you for your support. /* ------------------------------------------------------------------------- */ Ken Johnson Phone: 805-373-4487 Rockwell International Science Center Comnet: 273-4487 1049 Camino Dos Rios A-18 e-mail: kbj@risc.com Thousand Oaks, CA 91360 If enough data is collected, anything may be proven by statistical methods.... /* ------------------------------------------------------------------------- */