Hi,

An example for data url u can see at
https://stackoverflow.com/questions/8499633/how-to-display-base64-images-in-html

Best regards, Csaba

d...@rucotec.ch <d...@rucotec.ch> ezt írta (időpont: 2021. márc. 29., H,
9:27):

>
> > On 26 Mar 2021, at 15:08, Simon Steiner <simonsteiner1...@gmail.com>
> wrote:
> >
> > Hi,
> >
> > The uri can be a data url also
> >
>
> Sounds great. How would that look like? How would I embed the data in the
> xml and then reference from xsl?
> Thanks a lot
>
> > Thanks
> >
> > -----Original Message-----
> > From: Markus Ruggiero <mailingli...@kataputt.com>
> > Sent: 26 March 2021 13:45
> > To: fop-users@xmlgraphics.apache.org
> > 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: fop-users-unsubscr...@xmlgraphics.apache.org
> > For additional commands, e-mail: fop-users-h...@xmlgraphics.apache.org
> >
> >
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: fop-users-unsubscr...@xmlgraphics.apache.org
> > For additional commands, e-mail: fop-users-h...@xmlgraphics.apache.org
> >
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: fop-users-unsubscr...@xmlgraphics.apache.org
> For additional commands, e-mail: fop-users-h...@xmlgraphics.apache.org
>
>

Reply via email to