Hi,
Something like this:
<fo:block><fo:external-graphic src="url('data:application/pdf;base64,data')"
/></fo:block>
Thanks
From: Markus Ruggiero <[email protected]>
Sent: 26 March 2021 14:44
To: [email protected]
Subject: Re: Embed image from database, not from file
Sounds great. How would that look like? How would I embed the data in the
xml and then reference from xsl?
Thanks a lot
On 26 Mar 2021, at 15:08, Simon Steiner <[email protected]
<mailto:[email protected]> > wrote:
Hi,
The uri can be a data url also
Thanks
-----Original Message-----
From: Markus Ruggiero <[email protected]
<mailto:[email protected]> >
Sent: 26 March 2021 13:45
To: [email protected]
<mailto:[email protected]>
Subject: Embed image from database, not from file
Folks,
I have image data stored in a database, not as a file. It is JPEG data in
Base64 encoding. My understanding is that with fo.external-graphic I can
only use a proper file url for the image reference - but there is no file in
my case. Is there any other way to embed image data in the PDF output? Can I
somehow put the image data into the input xml data file and pull it from
there?
Thanks for any help
---markus---
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
<mailto:[email protected]>
For additional commands, e-mail: [email protected]
<mailto:[email protected]>
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
<mailto:[email protected]>
For additional commands, e-mail: [email protected]
<mailto:[email protected]>