[DUG] XML data to image problem

Robert Martin rob at chreos.co.nz
Thu Apr 21 11:10:05 NZST 2011


Will do :)


On 21/04/2011 11:07, Phil Scadden wrote:
>> I have tried changing the file extension but it does not open.  I have
>> also tried no base 64 decode but that also fails to produce a valid
>> file.  Can anyone see anything obviously wrong before I go back to the
>> source for further information (they are in the UK so its a day turn
>> around AND they are really unhelpful).
> I'm surprised that the file detail isnt in XML tags, but anyway, once
> you have translated from base64, have a closer look at the byte stream.
> If its jpeg, then should have the jpeg structure. Ie, should begin with
> FFD8 then FF plus another marker byte, probably E something.
> If its PNG, then it will start 89(hex). And so forth.


More information about the Delphi mailing list