Home All Groups Group Topic Archive Search About

Creating an image file to be included in XML Report?

Author
27 Jun 2005 5:38 PM
Connor T
Hi,

I currently create an image on my form, using GDI ( It's a pie chart! )

I now need to save that image as a jpg ( On demand ) so that it can be used
in an xml report.

How can I do this?  I can't see any way initially to do it, hope im wrong?

Rgds,
Dan

Author
28 Jun 2005 10:42 AM
Dan Bass
XML is a text only data format.
You could have the address of your image, then reference this from some
report that you generate?

Show quoteHide quote
"Connor T" <madman_***@hotmail.com> wrote in message
news:8QWve.7512$11.1969@newsfe2-win.ntli.net...
> Hi,
>
> I currently create an image on my form, using GDI ( It's a pie chart! )
>
> I now need to save that image as a jpg ( On demand ) so that it can be
> used
> in an xml report.
>
> How can I do this?  I can't see any way initially to do it, hope im wrong?
>
> Rgds,
> Dan
>
>
Author
30 Jun 2005 5:44 PM
Connor T
>
> XML is a text only data format.
> You could have the address of your image, then reference this from some
> report that you generate?
>

Yes, thats precisely what I want to do.  I want to generate the image, (
which ive already done on screen ), save it to jpg, and reference it in my
xml report??

Rgds,
Dan
Author
30 Jun 2005 7:19 PM
m.posseth
<snip>
>> XML is a text only data format.
>> You could have the address of your image, then reference this from some
>> report that you generate?
</snip>

It is no problem to include an image in a xml file you can easily
encodebase64 the file   ( binary to text ) include it and decode it on the
other side to make it a picture again




Show quoteHide quote
"Connor T" <madman_***@hotmail.com> wrote in message
news:bcWwe.13549$ZR1.866@newsfe2-gui.ntli.net...
>
>>
>> XML is a text only data format.
>> You could have the address of your image, then reference this from some
>> report that you generate?
>>
>
> Yes, thats precisely what I want to do.  I want to generate the image, (
> which ive already done on screen ), save it to jpg, and reference it in my
> xml report??
>
> Rgds,
> Dan
>
>