hi!!!!
when i add an picture which is a gif image, it gives an error saying
"Exception in main ::: com.aspose.powerpoint.PptImageException: Image reading error or unsupported
image format."
Shapes shapes = slides.get(0).getShapes();
com.aspose.powerpoint.Shape shape1 = shapes.get(4);
shape1.getFillFormat().setType(FillType.PICTURE);
InputStream is = new BufferedInputStream(new FileInputStream("bunch.jpg"));
Picture pic1 = new com.aspose.powerpoint.Picture(pres, is);
int picid1 = pres.getPictures().add(pic1);
shape1.getFillFormat().setPictureId(picid1);
Awaiting your response.
Regards