Re: XForms: Display 24 bit images?

Steve Lamont (
Sat, 23 May 98 10:11:02 PDT

# To subscribers of the xforms list from (Steve Lamont) :

Re: XForms: Display 24 bit images?
> I am running on an SGI, and my visual is TrueColor(confirmed). However,
> the image returned is 32 bits per pixel, and therefore my image is getting
> compressed to 2/3 its width on the screen. The image itself looks
> greyscale, so only one band seems to be displayed.

Use XPutPixel() to store the data in the image buffer. It will handle
the RGB pixel arrangement correctly.

To unsubscribe, send the message "unsubscribe" to or see
XForms Home Page:
List Archive: