This is a migrated thread and some comments may be shown as answers.

Check if pdf is corrupted

2 Answers 898 Views
PdfProcessing
This is a migrated thread and some comments may be shown as answers.
ANTONIO
Top achievements
Rank 1
ANTONIO asked on 25 May 2020, 04:58 PM

Hi,

 

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

Sort by
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.
0
ANTONIO
Top achievements
Rank 1
answered on 26 May 2020, 11:32 AM
Thanks!!
Tags
PdfProcessing
Asked by
ANTONIO
Top achievements
Rank 1
Answers by
Martin
Telerik team
ANTONIO
Top achievements
Rank 1
Share this question
or