embedded images in pptx slides losing quality when converted to pdf

Last post 08-11-2011, 11:03 PM by Mudassir. 3 replies.
Sort Posts: Previous Next
  •  08-11-2011, 8:34 AM 321828

    embedded images in pptx slides losing quality when converted to pdf .NET

    I am trying to convert a powerpoint slide to pdf file using Aspose Slides. I have noticed that the converted pdf file doesn't have the same quality for the embedded images in the powerpoint slide. I have used the below code for the conversion. I have tried different settings with pdfOptions object still have no luck. Also I could see some texts in the background which was not there in the actual presentaction slide. I am using a trial version of the assembly. Could you please help me in resolving this.

    PresentationEx pres = new PresentationEx(filePath);

    Aspose.Slides.Export.PdfOptions opts = new Aspose.Slides.Export.PdfOptions();

    opts.JpegQuality = 100;

    opts.SaveMetafilesAsPng = true;

    opts.TextCompression = Aspose.Slides.Export.PdfTextCompression.None;

    opts.Compliance = Aspose.Slides.Export.PdfCompliance.Pdf15;

    pres.Save("myFile.pdf", Aspose.Slides.Export.SaveFormat.Pdf,opts);

     
  •  08-11-2011, 9:33 AM 321842 in reply to 321828

    Re: embedded images in pptx slides losing quality when converted to pdf

    Hi Aneesh,

    Thanks for considering Aspose.Slides.

    I have tried to understand the issue shared by you. Can you please share the source presentation along with generated PDF for further investigation. Please also share which version of Aspose.Slides you are using for your application.

    Thanks and Regards,


    Mudassir Fayyaz
    Support Developer
    Aspose Sialkot Team
    Contact Us
    Aspose - The .NET and Java Component Publisher

    Keep in touch! We're on Twitter and Facebook
     
  •  08-11-2011, 9:39 AM 321844 in reply to 321828

    Re: embedded images in pptx slides losing quality when converted to pdf

    I have fixed the issue with the image quality by converting the image to a drawing object in the original presentation. But I still have minor layout issues like part of the table border is not renderd properly and could find the below text below all slides.

    * Footnote

    Source: Source

     
  •  08-11-2011, 11:03 PM 321935 in reply to 321844

    Re: embedded images in pptx slides losing quality when converted to pdf

    Hi Aneesh,

    That is a really good news that you have been able to figure out one of your issues. As I have requested you earlier that please share the source presentation, code snippet used and Aspose.Slides product version with us so that we may try reproducing the issue on our end to help you out further.

    Thanks and Regards, 


    Mudassir Fayyaz
    Support Developer
    Aspose Sialkot Team
    Contact Us
    Aspose - The .NET and Java Component Publisher

    Keep in touch! We're on Twitter and Facebook
     
View as RSS news feed in XML