在Linux下修复损坏的PDF文件

在Linux下修复损坏的PDF文件

现在修复损坏的PDF文件,修复效果比较不错的只有“Recovery Toolbox for PDF ”这个软件的了,而且是收费的,很难找到破解版,只有windows版本。

找了很久,才发现Linux下确实有非常好的方法修复PDF文件,两种方法结合起来,效果更好:


mutool clean bad.pdf good.pdf

导出来的文件已经基本修复得差不多。


pdftocairo -pdf good.pdf  best.pdf

这样就能导出恢复效果比较好的pdf文件,当然不能保证能恢复100%的内容。

------ 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 .

扫描二维码关注公众号,回复: 18982 查看本文章

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

猜你喜欢

转载自my.oschina.net/bhzhu/blog/782234