Hi,
We’re new to Aspose, so any help here would be appreciated.
Currently, we use ABCPdf to create PDF documents, but we have recently aquired an Aspose licence, so are looking to migrate to Aspose.Pdf.
One problem currently presents itself - the file size! Most of the PDF files we create are just TIF images (i.e. take hundreds of TIF images and produce one PDF). Using ABCPdf, and a sample of 300-400 images, the file size of the PDF was ~ 7/8MB. Using Aspose, it was ~233MB.
Using OptimizeResources(), and degrading the image quality got it down to ~ 60MB, but this is still far too big.
Are there any other ways we can reduce the size of the PDF?
Also, as part of using OptimizeResources, I’ve set UnembedFonts = true, however it looks like a font is still embedded…
Many thanks
Hi Dan,
Thanks for getting back to me.
I’ve attached 2 zips - images.zip contains some samples and AsposeTest25.zip contains some PDFs.
AsposeTest.pdf uses OptimiseResources() but does not use the CompressImages option, where AsposeTest25 uses CompressImages and sets ImageQuality to 25.
This example produces an 8mb and a 2mb PDF, but when compared to the original images sizes, and the size of the AbcPdfTest PDF, is quite large!
If this is scaled up to a few hundred images, the issue is a lot more noticeable.
If there is a way to reduce the size that I don’t know of, that would be great!
Cheers
Hi Dan,
Hi Oliver,
Hi,
Have you any idea when you might be able to look in to this?
It’s quite a significant problem, meaning we can’t use Aspose in most of our apps.
Hi Oliver,btcdk:Hi,
Have you any idea when you might be able to look in to this?
It's quite a significant problem, meaning we can't use Aspose in most of our apps.
Hi,
Any idea when that might be? We have paid for the product, and still cannot use it for the primary reason we bought it!
Hi Oliver,
I am also VERY interested in the response from the product team.
Hi Oliver,
I have just use aspose pdf to produce 6 pdfs from tiff images. The number of tiff images ranged from 24 to 61 tiffs.
After production, the file size ranged fro 24 mb to 60 mb.
Then I use adobe acrobat open and save as reduced size PDF.
The result was the biggest pdf was reduced from 60 mb to 2.5 mb
and the 24 mb reduced to 1.5 mb.
Hi Lisa,
The issues you have found earlier (filed as PDFNET-40982) have been fixed in Aspose.PDF for .NET 24.2.