I am watermarking pdf document using itext7 library. it is preserving layers and shows one of its signature invalid. I want to flatten the created document.
When i tried saving the document manually using Adobe print option, it flattens all signature and makes the document as valid document. Same functionality i want with java program.
Is there any way using java program, we can flatten pdf document?