I’m investigating file size changes when exporting a PPTX file to PDF.
My code is simply this:
var pres = new Presentation(fileName);
pres.Save(root + “\Pres.pdf”, SaveFormat.Pdf);
I’ve done some tests using different presentations using different presentations to see how the produced PDF file changed.
Using the attached presentation I have something like this:
- Aspose.Slides 17.4: 1.9 MB
- Aspose.Slides 19.1: 17.5 MB
- Aspose.Slides 19.5: 9.5 MB
(Produced files are attached)
Using a presentation from one of our customer (unfortunately I cannot share it), using the same code, I have this results:
- Aspose.Slides 17.4: 2 MB
- Aspose.Slides 19.1: 15.2 MB
- Aspose.Slides 19.5: 15.3 MB
In other tests Aspose.Slides 19.5 gave even more large files compared with 19.1.
How can we explain these differences? In particular from 17.4 to recent versions.
Pres.zip (7.7 MB)