We're sorry Aspose doesn't work properply without JavaScript enabled.

Free Support Forum - aspose.com

Problems with java flatten PDF

Sorry, Evaluation Use the library to flatten a PDF, but the response was not as expected, since the resulting pdf does not contain the text of the original pdf images only. Could you help?

Hi Juan,


Thanks for your inquiry. Please share your source PDF document here, we will look into it and will guide you accordingly.

We are sorry for the inconvenience caused.

Best Regards,

Hi,



Attached the original pdf (Original_11_1.pdf) and the pdf of response (AsposeFlatten_1.pdf).



The code that I used is:



Form form = new Form(“D:/Original_11_1.pdf”,“D:/AsposeFlatten_1.pdf”);

form.flattenAllFields();

form.save();





Regards!!!

Hi Juan,


Thanks for sharing the resource files.

I
have tested the scenario and I am able to reproduce the same problem. For the
sake of correction, I have logged it in our issue tracking system as PDFNEWJAVA-34543. We will
investigate this issue in details and will keep you updated on the status of a
correction. <o:p></o:p>

We apologize for your inconvenience.

ok, thanks I’ll be on the lookout