Page 1 of 1

Question on xml format

Posted: Fri Jan 27, 2012 10:20 am
by bortsov
Have difficulty decoding the IMG tag from the xml file on the web server by means of php.
Probyval decode back to jpg base64 function but it did not work.
Prompt please as encoded images in the xml in the IMG tag


<image parastyleno="1" spacing="0" alt="Красные кровяные клетки" imagefilename="http://www.roboraptor.tk/1-216.jpg" class="TJPEGImage" img="FFD8FFE000104A46494600010101004800480000FFE100664.....

Posted: Sat Jan 28, 2012 7:56 pm
by Sergey Tkachenko
it's just a hexadecimal code
"FFD8..." means that the first byte is $FF, the second byte is $D8, and so on.