You are viewing a plain text version of this content. The canonical link for it is here.
Posted to fop-dev@xmlgraphics.apache.org by "Beer, Christian" <BE...@DIRON.de> on 2001/08/24 09:57:25 UTC

Question: Images not from external file, but embedded in xml.

Hi Foppers!

I'm new to fop and I am develloping a nice app, that works best!!
Fop is great!

Question: 
  I am using the tag <fo:external-graphic ...> to insert an image 
  into a pdf. Is it possible to embedd an image into the xml (as 
  base64 or something)?? I get my image out of a database and it
  would be greate if I didn't have to write it to a file.

Cheers
	Christian

__________________________________________________
DIRON Wirtschaftsinformatik GmbH & Co. KG
Christian Beer          (Christian.Beer@diron.de)
Daimlerweg 39-41        Tel. : +49(251)979-200
48163 Muenster          Fax  : +49(251)979-2020
Germany                 Email: info@diron.de  

---------------------------------------------------------------------
To unsubscribe, e-mail: fop-dev-unsubscribe@xml.apache.org
For additional commands, email: fop-dev-help@xml.apache.org


Re: Question: Images not from external file, but embedded in xml.

Posted by Keiron Liddle <ke...@aftexsw.com>.
Christian,

The fo:external-graphic can only have data from a url specified in the src
element, so unless you somehow make a url to your database you cannot use
this element.

An alternative would be to use svg. The svg image supports inline data
(encoded as base64).


On Fri, 24 Aug 2001 09:57:25 "Beer, Christian" wrote:
> Hi Foppers!
(this Foppers business is getting out of hand :)
> I'm new to fop and I am develloping a nice app, that works best!!
> Fop is great!
> 
> Question: 
>   I am using the tag <fo:external-graphic ...> to insert an image 
>   into a pdf. Is it possible to embedd an image into the xml (as 
>   base64 or something)?? I get my image out of a database and it
>   would be greate if I didn't have to write it to a file.
> 
> Cheers
> 	Christian

---------------------------------------------------------------------
To unsubscribe, e-mail: fop-dev-unsubscribe@xml.apache.org
For additional commands, email: fop-dev-help@xml.apache.org