mapping _decode(string data) mapping decode_header(string data)
Decodes XWD data and returns the result.
Supported XWD visual classes and encoding formats are TrueColor / ZPixmap DirectColor / ZPixmap PseudoColor / ZPixmap
If someone sends me files of other formats, these formats may be implemented. :) /mirar+pike@mirar.org
the decoded image as an image object
This function may throw errors upon illegal or unknown XWD data.
decode