Closed toto6321 closed 5 years ago
Thanks for your information, I will check it soon.
Meaby this will help: https://stackoverflow.com/a/52661288 pdf2image package failed to convert the pdf to an image. That package use imagemagick to convert.
You can see more usefull debug information if you just show all information from data in the console.
const Converter = require('ppt-png')
new Converter({
files: ['a.pptx'],
output: 'output/',
invert: false,
logLevel: 2,
callback: function(data){
console.log(data)
}
}).run()
const Converter = require('ppt-png')
new Converter({ files: ['peka.pptx'], output: 'output/', invert: false, logLevel: 2, callback: function(data){ console.log(data.files, data.success, data.files, data.time) } }).run()
TypeError: Converter is not a constructor
Thanks, i'll check. On version 1.1.9?
@w3nl @PieterWigboldus yes 1.1.9
@AlexanderKozhevin I've found this issue, check: https://github.com/w3nl/ppt-png/issues/44#issuecomment-1058202531
Here is my demo.
Then I got:
Apparently, it doesn't work as expected. My node is 6.5.0 and OS is Ubuntu 18.
The demo pptx is attached.
a.pptx