XSL FO Background Image not rendering

I am trying to apply a background image through xsl fo, it is not working, any input would be appreciated.

As you can see, it is not a problem finding the image, as it is able to be added as an external graphic.

TestBG.fo

<?xml version="1.0" encoding="utf-8"?>
<fo:root xmlns:fo=“http://www.w3.org/1999/XSL/Format”>
 
  fo:layout-master-set
    <fo:simple-page-master master-name=“only” page-height=“11in” page-width=“8.5in”>
      <fo:region-body />
    </fo:simple-page-master>
  </fo:layout-master-set>
 
  <fo:page-sequence initial-page-number=“1” master-reference=“only”>
 
    <fo:flow flow-name=“xsl-region-body”>
      <fo:block background-image=“url(‘https://www.google.com/intl/en_com/images/srpr/logo3w.png’)” border-color="#000000" border-width=“2px” >
        Bob Dole
      </fo:block>
      <fo:external-graphic src=“url(‘https://www.google.com/intl/en_com/images/srpr/logo3w.png’)” />
    </fo:flow>
 
  </fo:page-sequence>
 
</fo:root>

Main.vb:

Dim pdf As New Aspose.Pdf.Generator.Pdf()
    pdf.BindFO(“TestBG.fo”)
    pdf.Save(“C:\Temp\test.pdf”)

Attached is the generated pdf.

Hi Joseph,

Thanks for using our products.

I tested the scenario and able to notice the same problem. For rectification, I logged this problem for investigation with ID “PDFNEWNET-33179” in our Issue Tracking System. We will further look into the details of this issue and will keep you updated via this forum thread.

Sorry for the inconvenience.

Thanks & Regards,

Are there any updates on this?


Thanks and Regards

Hi Joseph,

Thanks for your patience.

Our development team is working hard to get this issue fixed but I am afraid its not yet completely resolved. However I have requested the development team to share the ETA regarding its resolution. As soon as I have required information, I will be more than happy to update you with the status of correction. Please be patient and spare little time with us.

We apologize for the inconvenience.

Thanks & Regards,

Are there any updates on this?

Thanks and Regards,

Hi Joseph,

I am very sorry for the inconvenience caused due to this issue. However, I would like to share with you that we are discussing and investigating this issue at our end. Our development team is trying to provide the fix, the earliest possible. Please spare us some time, so we could provide some estimate for the availability of the fix.

We are realy sorry for your inconvenience.

Thanks & Regards,

Hi Joseph,

Thank you for your patience.

Its my pleasure to inform you that the issue is resolved by the development team and this issue will be a part of Aspose.Pdf for .NET v6.8 (to be released in March as per our monthly release plan) after following the complete testing and release cycle. Please be patient and we will notify you once the version is available for download.

We apologize for your inconvenience.

Thanks & Regards,

The issues you have found earlier (filed as PDFNEWNET-33179) have been fixed in this update.


This message was posted using Notification2Forum from Downloads module by aspose.notifier.