My company is planning on purchasing your product for an upcoming project. We will be converting a single TIFF and multiple JPEG files into a PDF. I am using the DEMO version of Aspose to test this. We are currently doing the same task with freeware ghostwriter software. I was able to successfully convert using Aspose but the issue is the images are much larger when created by Aspose instead of ghostwriter, gswin32c. One PDF image created by ghostwriter was 1,101 KB but 6,057 KB when created by Aspose. I tried to add optimization code that I found posted on your site but it did not reduce the pdf size. Can you give me any suggestions on how to reduce the size of the PDF file generated by Aspose? I stripped out the code and created standalone vb.net code of what I am doing and it is attached.
I did some more testing and found if I open the pdf file created by Aspose and then optimize and save the image size is much smaller. This takes too much time so I’m hoping there is a way to optimize pdf while creating.
I tried moving the OptimizeResources after placing images inside the PDF and right before I save but the image is still not optimized. I attached the example TIFF and JPEG files I am using to test. In the code, after I have saved the PDF, I instantiate a PDF document pointing to the PDF I have just created. When I optimizeResources and save the document gets optimized. Is there a way to optimize in the first save. Thanks for your assistance.
the sake of optimization, I have logged an enhancement it in our issue tracking system as PDFNEWNET-38134. We will
investigate this issue in details and will keep you updated on the status of a
We apologize for your inconvenience.
is there any update on this issue? I have a similar issue where multiple TIF images getting merged into a single PDF yield a file many times larger than the sum of all the original TIF images.