Hello,
We are looking into upgrade of current Aspose.Slides library, but encountered an issue with conversion of PPT presentation containing an EMF image to PDF.
Below is the sample code:
final String targetPdfFile = [PATH] + “PPT_testSample_aspose_23_02.pdf”;
final String sourcePptxFile = [PATH] + “PPT_testSample.pptx”;
IPresentation pptx = new Presentation(sourcePptxFile);
PdfOptions saveOptions = new PdfOptions();
saveOptions.setBestImagesCompressionRatio(false);
saveOptions.setJpegQuality((byte)95);
pptx.save(targetPdfFile, SaveFormat.Pdf, saveOptions);
Note that when opened generated PDF output, it shows a border on the right and bottom of the chart image.
Attached is zipped source PPTX sample document, and screenshot illustrating the issue.
This issue is reproducible on both Linux 7.4 and Windows 10 platform with java full version “1.8.0_351-b10”.
Thank you in advance,
Yan.
pptToPDF_extraBorderLines.png (28.7 KB)
PPT_testSample.7z (35.7 KB)