Spire.Presentation is a professional PowerPoint® compatible library that enables developers to create, read, write, modify, convert and Print PowerPoint documents from any .NET(C#, VB.NET, ASP.NET, .NET Core) application and Java (J2SE and J2EE) application.

Fri Mar 13, 2020 1:06 pm

Hi,

Please Help
Using Linux environment cant able to read properly
Please find the attached two images of after and before.
I m using Free version and below are the codes mention:-

Presentation presentation = new Presentation();

//load an example PPTX file
presentation.loadFromFile(serverFile.getAbsolutePath());

//loop through the slides
for (int i = 0; i < presentation.getSlides().getCount(); i++) {

//save each slide as a BufferedImage
BufferedImage image = presentation.getSlides().get(i).saveAsImage();

//save BufferedImage as PNG file format
String fileName1 = String.format(dpath+"ToImage-%1$s.png", i);
ImageIO.write(image, "PNG",new File(fileName1));
}
presentation.dispose();
Thanks

amit_135
 
Posts: 1
Joined: Fri Mar 13, 2020 7:30 am

Mon Mar 16, 2020 1:58 am

Hello,

Sorry for the late reply as weekend.
To help us investigate your issue more accurately, please provide your input file and your testing environment information, such as OS information (E.g. CentOS 7) and Region setting (E.g. China, Chinese). You could upload here or send them to us(support@e-iceblue.com) via email.
Thanks in advance for your assistance.

Sincerely,
Rachel
E-iceblue support team
User avatar

rachel.lei
 
Posts: 1573
Joined: Tue Jul 09, 2019 2:22 am

Fri Mar 20, 2020 10:34 am

Hello,

Greetings from E-iceblue!
How is your issue now? Could you please provide more information to help further investigate it?
Thanks in advance.

Sincerely,
Rachel
E-iceblue support team
User avatar

rachel.lei
 
Posts: 1573
Joined: Tue Jul 09, 2019 2:22 am

Return to Spire.Presentation