I am testing out Aspose PDF Java to see if it can reduce the size of PDFs. I see the sample code and have used all the optimizationOptions.
I am not seeing the size reduction I was expecting compared to similar PDF libraries (but Aspose is a preferred vendor) so wondering if the eval only converts a few objects/images and then stops.
Can anyone confirm?
I am guessing it won’t look at more than 4 pages since that is all pdfDocument.getPages() will return without error.
If it is crippled - is there anyway I can test out one PDF to see how real compression will work on the paid product?
thanks
Yes, you can obtain a free 30-days temporary license in order to evaluate the API in its full capacity without any restrictions. In case you still notice any issues, please share your sample PDF with us and we will test the case to address it accordingly.
Thanks very much.
Got the license, but didn’t help much with size reduction. If possible, can you try to see if you can reduce this to say 15MB? I can’t get it below 23MB.
you can grab the PDF from here (scientific publishing site - we are a customer [aspose.words]) https://opg.optica.org/aop/fulltext.cfm?uri=aop-12-4-847&id=444113
or if you prefer I can upload the 28MB PDF
Best regards
Can you please also share the complete code snippet that you used for optimizing the PDF? We also noticed that the API was not able to reduce the size much. However, we prefer to log an issue with the same code snippet that you tried.
We have opened the following new ticket(s) in our internal issue tracking system and will deliver their fixes according to the terms mentioned in Free Support Policies.
Issue ID(s): PDFJAVA-43544
You can obtain Paid Support Services if you need support on a priority basis, along with the direct access to our Paid Support management team.
Thanks so much. Can you give me any rough idea of what this does? Just asking as my business unit are testing and I want to be able to guide them as to what differences if any they might see as a result of the setRemovePrivateInfo call. Thanks!! @asad.ali