Re: [DUG] XML data to image problem

2011-04-20 Thread Phil Scadden
Yup. That is jpeg. Notice: This email and any attachments are confidential. If received in error please destroy and immediately notify us. Do not copy or disclose the contents. ___ NZ Borland Developers Group - Delphi mailing list Post: delphi@delphi.o

Re: [DUG] XML data to image problem

2011-04-20 Thread Robert Martin
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

Re: [DUG] XML data to image problem

2011-04-20 Thread Robert Martin
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 info

Re: [DUG] XML data to image problem

2011-04-20 Thread Phil Scadden
> > 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

Re: [DUG] XML data to image problem

2011-04-20 Thread Jolyon Smith
Delphi List Subject: [DUG] XML data to image problem Hi I am getting image data from an XML file. The author has not provided information as to encoding or file type but I am assuming base64 and Jpg. I have the following code which does produce a file but it appears corrupt.

[DUG] XML data to image problem

2011-04-20 Thread Robert Martin
Hi I am getting image data from an XML file. The author has not provided information as to encoding or file type but I am assuming base64 and Jpg. I have the following code which does produce a file but it appears corrupt. if (aNode <> nil) and (ANod