We're sorry Aspose doesn't work properply without JavaScript enabled.

Free Support Forum - aspose.com

Wrong to convert ppt to image

Hi,

When I convert ppt to image using 15.8.0 , It’s wrong to do.
Attachment is the info of error,and I want to know how to solve it.

Hi Minte,


Thank you for your growing interest in Aspose.Slides.

I have observed your comments and like to request you to please share with us the code sample and the source file to reproduce the issue so that we may investigate it further to help you out. Before you share the requested data, make sure you are using Aspose.Slides for Java 15.11.0 on your end.

Please let us know if the issue persists. We will be glad to assist you further.

Best Regards,

Hi~

Following is my code

Presentation pres = new Presentation(bis);
ISlideCollection slides = pres.getSlides();
ISlide slide = slides.get_Item(0);
int desiredX = 1920;
int desiredY = 1080;
float ScaleX = (float) (1.0 / pres.getSlideSize().getSize().getWidth()) * desiredX;
float ScaleY = (float) (1.0 / pres.getSlideSize().getSize().getHeight()) * desiredY;
BufferedImage image = slide.getThumbnail(ScaleX, ScaleY);

And My Java Environment is JDK 1.6.
Can you tell me how to resolve it?

Hi Minte,


I have observed the data and information shared by you and I would like to request you to please share with us the source file to reproduce the issue so that we may investigate it further to help you out.

Best Regards,