My problem :
I have a frame grabber card that takes a snapshot of a
video image. This saves the image as RGB tripples.
I convert this to ppm, then into XPM so that I can use
the xpm libraries and a simple drawing widget to display
the stored images when required.
This works fine with monochrome video.
However, when it comes to colour I always get an error from X saying bad
pixmap or drawable. This is when I try to use XCopyArea, i.e. copy the
pixmap to the drawing widget.
The size of the image is 1280x1024, with 16bit colour.
Is there any other way of getting a graphics format file to be displayed on
a drawing widget.
Any help, would be much appreciated
Ray