[DUG] XML data to image problem

Robert Martin rob at chreos.co.nz
Thu Apr 21 11:43:20 NZST 2011


Hi

Just checked.  The first part of the file is 
'yOya'#0#$10'JFIF'#0#1#0#1#0'Z'#0'Z'#0#0'y?'#0#$1F'LEAD Technologies 
Inc. V1.01'#0'yU'#0'?u'.......

This seems to indicate its an extension of .jpg based on a web search 
for jfif.

I tried opening it (in GIMP) but it also fails.

Might have to go back to the UK people.

Thanks
Rob

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