jef@webster.UUCP (Jef Poskanzer) (03/27/88)
I've been looking at the format of the bitmap files produced by xwd.
The header is described in XWDFile.h, and it's all nice and machine-
independent. But if you look at xwd.c, you will find that it writes
out XColor structs directly. This doesn't seem very portable -- the
actual size of this struct could vary from compiler to compiler.
Since xwd goes to great lengths to be machine-independent, this seems
weird.
Can someone who knows more about it than I do comment on whether the
XColors should be translated to 32-bit xwdvals before they are written
out? Naturally this would mean bumping the XWD_FILE_VERSION.
---
Jef
Jef Poskanzer pacbell!sybase!jef@Sun.Com jef@lbl-rtsg.ARPA