>>>>> Regarding 'Re: CLX xy-pixmap -> netpbm?'; fred lakin adds:
ign> Hello, I try to use the CLX library but I don't know how to view ign> these pixmaps I get via GET-IMAGE. That test.xpm file is ign> unreadable for Gimp etc. How can I view that file? > The netpbm suite of converters is handy for this kind of stuff. > http://netpbm.sourceforge.net Thanks, but the problem is that none of these tools recognise the output of XLIB:WRITE-BITMAP-FILE as a valid XPM. Like: ,---- | ignotus agony:/opt/tmp/3 [7028]% xpmtoppm --verbose test11.xpm | xpmtoppm: missing or invalid format `---- After I add manually "/* XPM */" as the first line, the error message becomes: ,---- | ignotus agony:/opt/tmp/3 [7030]% xpmtoppm --verbose test11.xpm | xpmtoppm: Cannot find data structure declaration. Expected a line starting with 'static char', but found the line '#define image_width 1024 `---- If I delete lines beginning with "#define", I get: ,---- | ignotus agony:/opt/tmp/3 [7034]% xpmtoppm --verbose test11.xpm | xpmtoppm: error scanning hints line `---- :-( -- ...sutongi tti olleh
