Spire.Presentation is a professional PowerPoint® compatible library that enables developers to create, read, write, modify, convert and Print PowerPoint documents. Get free and professional technical support for Spire.Presentation for .NET, Java, Android, C++, Python.

Fri Mar 13, 2015 4:30 pm

Hi!. I hope you can help me!.

I have a presentation pptx and I want export pptx to image. I'm using the next method:

string ruta = Server.MapPath("Documentos");
string rutaArchivo = Path.Combine(ruta, "PruebaArchivo.pptx");

Presentation presentation = new Presentation();
presentation.LoadFromFile(rutaArchivo);

for (int i = 0; i < presentation.Slides.Count; i++)
{
Image image = presentation.Slides[i].SaveAsImage();
String fileName = Path.Combine(ruta, String.Format("result-img-{0}.Tiff", i));
image.Save(fileName, System.Drawing.Imaging.ImageFormat.Tiff);
}


I can obtain the images, however many contents elements in the slides are deleted and any color are changed....

iluks
 
Posts: 2
Joined: Fri Mar 13, 2015 3:56 pm

Mon Mar 16, 2015 2:51 am

Hello,

Thanks for your inquiry.
It would be very helpful if you provide your sample document(PruebaArchivo.pptx) for our testing.
Thanks.

Best Regards,
Betsy
E-iceblue support team
User avatar

Betsy
 
Posts: 802
Joined: Mon Jan 19, 2015 6:14 am

Tue Mar 24, 2015 3:16 pm

Hi good morning,
I want to know, what happen?, Has the issue been resolved? ,can you help me with my issue?
thank you very much. Have a nice day.


This is last answer :cry:

Enviado el: martes, 17 de marzo de 2015 09:42 p.m.
Asunto: re:[#4609]Export pptx to Images

Dear Ian

Thanks for your file.
I have reproduced your issue, sorry. I have posted the issue to our dev team. We will inform you when it is fixed.

iluks
 
Posts: 2
Joined: Fri Mar 13, 2015 3:56 pm

Wed Mar 25, 2015 3:57 am

Hello,

Sorry that our Dev team is still fixing the issue, we will notify you immediately as soon as there is progress.

Best Regards,
Betsy
E-iceblue support team
User avatar

Betsy
 
Posts: 802
Joined: Mon Jan 19, 2015 6:14 am

Return to Spire.Presentation