Mailingliste - Einträge 2006

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[qftestJUI] The binary encoded screenshot in qrz files

  • Subject: [qftestJUI] The binary encoded screenshot in qrz files
  • From: Venkatesh Madurai-Subramanian <vmadurai@?.com>
  • Date: Wed, 7 Jun 2006 17:30:04 +0100


Using PHP, I am able to gunzip the qrz file, parse the resulting XML file to get the exceptions and the errors.

What i would like to do now is to display the image from within the <Imagewrapper...> nodes. Is this image in a png and/or compressed format?

I tried to decode it using PHP's base64_decode function but the resulting file is neither a png file nor a jpeg.

I saw a previous post at but I am somewhat puzzled.

I thought that i could base64_decode the contents of the <binary...>nodes within <imagewrapper...> and then use gzinflate of PHP on it. But when i base64_decode the file, i just get a warning back from PHP saying "data error". Are there any headers that I need to strip out or has the encoding changed recently please?

If i just base64_decode it and write the output to a file, I cannot g-unzip it.

I am using QFtestJUI v 1.08.5. Reference to PHP regarding base64_decode :

Thanks in advance for any ideas/ help.