The tools/decompress program does not read the Page Width and Page Height correctly. It is processing the least significant byte as a signed byte and not an unsigned byte.
The patch is shown below. It is made against the head of SVN. It adds some type casts to (quint8)
Index: qpdl.cpp
===================================================================
--- qpdl.cpp (revision 229)
+++...