|
[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
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.
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|

Cart








