Is there a way to check if a pdf file is corrupted using pdfprocessing?
i'm working on a upload pdf file tool and it will be nice to check if the pdf is or not corrupted before upload. I've already check if the file header is pdf but some corrupted files gone thought.
Thanks!!
2 Answers, 1 is accepted
0
Accepted
Martin
Telerik team
answered on 26 May 2020, 11:02 AM
Hi Antonio,
Currently, the way to validate a PDF document using the PdfProcessing library is to try to import it. Š¢herefore, I logged a feature request to provide such functionality: PdfProcessing: Add PDF document validator. You can cast your vote for the implementation as well as subscribe to the task by clicking the Follow button so you can receive updates about status changes.
In appreciation for bringing this to our attention, I have added Telerik points to your account.
Regards,
Martin
Progress Telerik
Progress is here for your business, like always. Read more about the measures we are taking to ensure business continuity and help fight the COVID-19 pandemic. Our thoughts here at Progress are with those affected by the outbreak.