Standalone Office Open XML files (Microsoft Office 2007 and later) generator for Word (docx), PowerPoint (pptx) and Excell (xlsx) in javascript. The output is a stream.
MIT License
2.65k
stars
470
forks
source link
Is addImage with svg supported for pptx file? #404
Environment
node -v
: v16.15.1npm -v
: 8.11.0npm ls officegen
: officegen@0.6.5Operating system: MacOS Catalina
Microsoft Office version: 16.65 (Powerpoint for Mac)
Problem with Powerpoint, Excel or Word document: Powerpoint
Steps to Reproduce
Execute this
Behavior: slide gives "The picture can't be displayed"
Expected: svg is in slide (as would be the case when using insert picture)
First question I guess...is using addImage to add an svg to a pptx file supported? If so, what is going wrong with the little test?
Tx!
Peter