Subject: Re: [xsl] converting a base64 string to an image in xslfo From: "a kusa akusa8@xxxxxxxxx" <xsl-list-service@xxxxxxxxxxxxxxxxxxxxxx> Date: Wed, 2 Mar 2016 15:00:57 -0000 |
Thank you. I tried using the data:image/tif code. But the graphic does not get rendered on the PDF. This is what it looks like: <fo:external-graphic height="6.8in" width="6.5in"> <xsl:attribute name="src"> <xsl:value-of select="url('data:image/tif;base64,{$imageData}')"/></xsl:attribute> </fo:external-graphic> imageData is the base64 encoded string for the graphic. I am using XEP as the processor. On Wed, Mar 2, 2016 at 8:44 AM, Frank Arensmeier frank@xxxxxxxxx <xsl-list-service@xxxxxxxxxxxxxxxxxxxxxx> wrote: > Maybe this can help? > > http://lmgtfy.com/?q=xslfo+base64 > > > Frank Arensmeier > >> 2 mar 2016 kl. 15:30 skrev a kusa akusa8@xxxxxxxxx <xsl-list-service@xxxxxxxxxxxxxxxxxxxxxx>: >> >> Hello: >> >> >> Can someone please point me in the right direction here? >> >> On Tue, Mar 1, 2016 at 2:27 PM, a kusa akusa8@xxxxxxxxx >> <xsl-list-service@xxxxxxxxxxxxxxxxxxxxxx> wrote: >>> Hi: >>> >>> I have a base64 string for an image. If I want to use this to convert >>> it back to an image and embed in a PDF using XSLFO, how do I do it? I >>> use renderx's xep processor. >>> >>> Thanks in advance.
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Re: [xsl] converting a base64 strin, Frank Arensmeier fra | Thread | [xsl] filter using contains with mu, Raimund Kammering ra |
Re: [xsl] converting a base64 strin, Frank Arensmeier fra | Date | [xsl] filter using contains with mu, Raimund Kammering ra |
Month |