Home  >  Article  >  php教程  >  Repair corrupted PDF files under Linux

Repair corrupted PDF files under Linux

巴扎黑
巴扎黑Original
2016-11-07 10:23:541950browse

Repair damaged PDF files under Linux

Now to repair damaged PDF files, the only software with good repair effect is "Recovery Toolbox for PDF", and it is paid. It is difficult to find a cracked version, and there is only a windows version.

After searching for a long time, I found that there is indeed a very good way to repair PDF files under Linux. Combining the two methods, the effect is better:


mutool clean bad.pdf good.pdf

The exported file has been basically repaired Pretty much the same.


pdftocairo -pdf good.pdf best.pdf

This way you can export a pdf file with better recovery effect. Of course, there is no guarantee that 100% of the content can be recovered.

------English version------


The best PDF recovery software is “Recovery Toolbox for PDF” in Windows, but it is not free and no cracked version.
I find the useful tools for a long time, and find a best way in Linux to repair corrupted PDF file.Combining two methods will be good:


1.mutool clean bad.pdf good.pdf
This way pdf file is to be recovered the the most data .

2.pdftocairo -pdf good.pdf best.pdf
This way is to continue to recover the visible content.


mutool is from http://mupdf.com/ and pdftocairo is from poppler.


Original Page:http://superuser.com/questions/278562/how-can-i-fix-repair-a-corrupted-pdf-file


Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn