We are looking for PDF library vendor for our product requirements.
We are looking for PDF library for our Products on .Net 5, .Net 6, netstandard2.0 & .Net Framework 4.7.2+ for Windows & Linux platforms. Do ASPOSE support these?
Looking for below features…
PDF file flattening
1. Annotations flattening
2. PDF Form fields flattening
3. Digital Signatures flattening
4. Layers flattening
PDF/A to PDF conversion and vice versa.
How to check if PDF is of PDF/A type or not
Secure PDF (like password protected, encrypted, locked, Corrupted), how to check if PDF is one of these?
Package (Portfolio) PDFs to extract the inner PDFs
1. How to check if PDF a portfolio file or not
Read Digital signature - For existing PDFs, find out if pdf file have
1. Third party
2. Self-signed one
3. Both
PDF metadata Read and edit save.
1. Process to edit metadata like Keywords, description of PDF file and save
2. Any provision in Library which can be used to few required details in PDF file?
PDF Read annotations/markups data
1. Read Markup Annotation fields like…
1. Identity
2. Contents
3. Subject
4. User
5. AnnotationType
6. PageNumber
7. CreationDate
8. ModificationDate
9. Full annotation details
Library should have provision to Kill the process of file edits when it’s stuck
AWS cloud features - S3 direct flatten Or Steaming - If any
How is the license maintained?
1. Is it different license Key every time we renew?
2. Do library auto validate key online?
3. Any suggestions to maintain license in product
We do not offer any separate functionality to flatten the layers in PDF. The layers are automatically flattened in PDFA format. You can convert your PDF into PDFA in order to obtain flattened layer PDF:
Document doc = new Document("input.pdf");
doc.Convert(new MemoryStream(), PdfFormat.PDF_A_1A, ConvertErrorAction.Delete);
doc.Save("output.pdf");
For Layers, we just want to flatten it and not convert PDF to PDFA. How can we achieve this?
We want to Flatten Layers, Forms, Annotatons, Digital signatures are in on go with single save of file, how can we get that? Sample code for this would be appreciated.
I used below code, but all annotations are not getting flattened
Could you please ZIP and attach your input and expected output PDF files here for testing? We will investigate the issue and provide you more information on it.
@tahir.manzoor
You can find all Input & Expected output PDF files at https://drive.google.com/drive/folders/1EC_572yDasI3UHq-LZfQdm8tC9YYr88c?usp=sharing
This contains all files we flattened. Details on few are as below…
Layers flattening file : pdf_layer_new.pdf
Digital signed : Elevation Certificate.pdf
a) Self signed : 1_Self_Signed_Mechanical_signed.pdf
b) Third party Signed : 1_third_partySigned.pdf
c) Both signed file : Both Signes Truss Packet- Solera Reserve 57 -13741 Monrovia.pdf , multiple_signed.pdf
Form fields : FillablePDF.pdf, form_feilds_links_international_support_new.pdf
Long taking time PDF: Parasol Melbourne FA Drawing Set (1)_v1Origin.pdf
These are some files which I was asking for to which Aspose functions I can use to flatten these in one go save. It would be greatly appreciated if you can provide actual code samples for each of them, to make sure POC expedited faster.
You have shared many PDF files around 2GB size. Could you please ZIP and attach the specific files for which you are facing the issues? We will then investigate each PDF file and then provide you more information on your issue.
@tahir.manzoor
I have uploaded new folder called “Specific Files” OR zip file “Specific Files.7z” to the same link https://drive.google.com/drive/folders/1EC_572yDasI3UHq-LZfQdm8tC9YYr88c?usp=sharing
Appreciate if you can check and provide solutions for each of cases
We have logged new feature request as PDFNET-51092 in our issue tracking system for this requirement. We will inform you via this forum thread once this feature is available.
The Form.Flatten throws Aspose.Pdf.Sanitization.SanitizationException. So, we have logged this issue as PDFNET-51093.
I’m still experiencing this problem in the 23.4.0.0 version of Aspose.PDF, this problem isn’t fixed yet?
Aspose.Pdf.Document.Flatten()
Aspose.Pdf.Sanitization.SanitizationException: ‘The document uses signature wrapping. The digital signature is compromised’
We are afraid that the earlier logged ticket has not been yet resolved. However, we have recorded your concerns and will surely inform you once we make some progress towards its resolution. Please be patient and spare us some time.