Hi guys,
I have the library Aspose.Slides v2.9.6 and I want to do a powerpoint presentation.
My code is as follows:
Presentation pres=new Presentation();
Slide sl=pres.addEmptySlide();
BufferedOutputStream fo=new BufferedOutputStream(new FileOutputStream(fileName + “.png”));
BufferedImage bi=new BufferedImage(draw.getMaxWidth(0), draw.getMaxWidth(0), BufferedImage.TYPE_INT_ARGB);
draw.getPage(0).drawOnImage(bi);
ImageIO.write(bi,“png”,fo);
fo.close();
InputStream in=new FileInputStream(fileName “.png”);
Picture pct=new Picture(pres, in);
int id=slp.add(pct);
sl.getShapes().addPictureFrame(id, 0, 0, draw.getMaxWidth(), draw.getMaxHeight());
pres.save(fileName,SaveFormat.PPTX);
But it gives me an error "This export format is not implemented for PPT yet."
What i’m doing wrong?
Thank You,
Paulo Fernandes