steve@lia (Stephen Williams) (05/05/91)
I have found a problem with xloadimage and I wonder if anybody has fixed it already. Specificly, I have an X-terminal that is 4-bit grey (tektronix XP23) some color raster files. xloadimage creates an 8bit deep image and tries to XPutImage to the screen. The result is a BadMatch because the display is only 4 bits deep. The -colors switch doesn't help. Has anybody convinced xloadimage to reduce an image to 4bits deep? It doesn't seem to look at the depth of the screen at all. Alternatively, has anybody written a widget that displays ppm (raw) images? --Steve Williams steve@lia.com