Open
Description
I generate presentations with a single image per slide, but after upgrading I can no longer print these presentations with the "notes" layout print option. You can see in my screenshot that nothing renders in the print preview when "notes" is selected as the layout option. This worked correctly in version 1.10.0, but I have recently upgraded to 2.4.0 in order to add slide notes. Example code included which worked for me in v1.10, I can supply images if need be (but any image should work).
this.slides.forEach(fileName => {
let pptSlide = pptx.addNewSlide();
pptSlide.addImage({
x: 0,
y: 0,
w: 1.7777777778,
h: 1,
path: getFilePath(fileName),
sizing: {
type: 'cover',
w: 10,
h: 5.625,
}
});
});
return new Promise(resolve => {
pptx.save('http', (buffer) => {
resolve(buffer);
});
});