xsl-list
[Top] [All Lists]

Re: [xsl] converting a base64 string to an image in xslfo

2016-03-02 09:01:14
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(_at_)paligo(_dot_)se
<xsl-list-service(_at_)lists(_dot_)mulberrytech(_dot_)com> wrote:
Maybe this can help?

http://lmgtfy.com/?q=xslfo+base64


Frank Arensmeier

2 mar 2016 kl. 15:30 skrev a kusa akusa8(_at_)gmail(_dot_)com 
<xsl-list-service(_at_)lists(_dot_)mulberrytech(_dot_)com>:

Hello:


Can someone please point me in the right direction here?

On Tue, Mar 1, 2016 at 2:27 PM, a kusa akusa8(_at_)gmail(_dot_)com
<xsl-list-service(_at_)lists(_dot_)mulberrytech(_dot_)com> 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.



--~----------------------------------------------------------------
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
EasyUnsubscribe: http://lists.mulberrytech.com/unsub/xsl-list/1167547
or by email: xsl-list-unsub(_at_)lists(_dot_)mulberrytech(_dot_)com
--~--

<Prev in Thread] Current Thread [Next in Thread>