Product: Java SDK
Product Version: latest
Please give a brief summary of your issue: Save annotation throwing Custom filter is not valid error
(Think of this as an email subject)
Please describe your issue and provide steps to reproduce it:
(The more descriptive your answer, the faster we are able to help you)
Saving annotations to same PDF file is throwing Custom filter is not valid error. Below is the code I am using
PDFDoc doc = new PDFDoc(inputStream);
createAnnotation(doc);
doc.save();
inputStream is the file data retrieved from external system. Please let me know how I can save/merge the annotations to same input PDF document using PDFTron java API
Please provide a link to a minimal sample where the issue is reproducible: