SVG Image in XLSX Recipe



  • Is it possible to use SVGs in XLSX? I've tried various combinations and the SVG never loads in the spreadsheet, just the red X. A PNG in the same format(s) works without issue.

    {{#xlsxAddImage "logo" "sheet1.xml" 0 0 2 2}}
    {{svgLogo}}}
    {{/xlsxAddImage}}
    

    and

    {{#xlsxAddImage "logo" "sheet1.xml" 0 0 2 2}}
    {{#asset svgLogo.svg @encoding=base64}}
    {{/xlsxAddImage}}
    


  • I'm afraid only the png images are currently supported.



  • Thank you for the quick response!


Log in to reply
 

Looks like your connection to jsreport forum was lost, please wait while we try to reconnect.