How could I repair the pdf file? The first tool comes in my mind is pdftk, it failed to read the corrupted file and give exception. Then I try pdf2ps, it failed either.
Google shows me some one saying mutool from muPDF could repair it. I have using muPDF for some time, it is the default PDF viewer in my Slackware desktop. But I never take attention to the little tools come along with it, after man mutool, the following command save me:
mutool clean corrupted.pdf clean.pdfThe repaired PDF file is in clean.pdf.
P.S. muPDF does not come with Slackware, but it has a SlackBuild script. For Windows user, muPDF provide windows version too.
No comments:
Post a Comment