Problems with conversions

This powerpoint document has multiple problems.


The first slide doesn’t have the 3-d bevel on the cells.
The second slide doesn’t have the contents of the table
The third slide is missing the images of the credit cards
The 4th slide doesn’t have the 3-d bevels.

This is the program.

public class PptToJpg {

// public static void converttojpg() {
public static void main (String[] args) {

com.aspose.slides.License license = new com.aspose.slides.License();
license.setLicense(“Aspose.Slides.lic”);

// Presentation pres = new Presentation("/var/tmp/Application Development Overview.pptx");
// Presentation pres = new Presentation("/var/tmp/CBUP present 0402115.pptx");
Presentation pres = new Presentation("/var/tmp/test.pptx");

ISlideCollection slides = pres.getSlides();
int firstslide=pres.getFirstSlideNumber();
int lastslide=firstslide + slides.size() - 1;
ISlide slide;

System.out.println(“num slides " + firstslide + " " + lastslide);
for(int i=0;i<=lastslide;i++)
{
//Accessing a slide using its slide position
System.out.println(“Slide number " + i);
slide= slides.get_Item(i);
BufferedImage image = slide.getThumbnail(2, 2);;
//Saving the image in jpeg format

try {

ImageIO.write(image, “jpeg”, new File(“Slide”+i+”_b.jpg”));
}
catch (Exception e) {
System.out.println(e.getMessage());
}

} // end of for
}
}

Hi Frank,

I have worked with the presentation file using Aspose.Slides for JAVA 16.10.0 and have been able to reproduce the issue. A ticket with ID SLIDESJAVA-35740 has been created in our issue tracking system to investigate and resolve the issue. This thread has been associated with the ticket so that we may share the notification with you once issue will be fixed.

We are sorry for your inconvenience,

Since these conversions don’t work, aspose is unusable for us. If you ever get these types of conversions to work, please let me know. Until then I will be setting up a windows server with Powerpoint and remote access to do my conversions.


I was hoping to set up a Linux solution, but aspose doesn’t seem to work in all cases.

Hi Frank,


Can you please share environment details and jdk versions with us so that we can help you out in this issue.

We are sorry for your inconvenience,

Linux 3.14.42-31.38.amzn1.x86_64

java-1.8.0-openjdk

Hi Frank,


Thanks for sharing information with us.

Best Regards,

Hi Frank,


I like to inform that problem with missing images has been resolved in Aspose.Slides 17.1.0. Can you please use that to avoid this problem.

Best Regards,

The issues you have found earlier (filed as SLIDESJAVA-35740) have been fixed in this update.


This message was posted using Notification2Forum from Downloads module by Aspose Notifier.