[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

Re: converting a base64 string to an image in xslfo

Subject: Re: 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
Re:  converting a base64 string to an image in xslfo
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

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.