Maison > php教程 > PHP开发 > le corps du texte

在Linux下修复损坏的PDF文件

巴扎黑
Libérer: 2016-11-07 10:23:54
original
1909 Les gens l'ont consulté

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

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


Étiquettes associées:
source:php.cn
Déclaration de ce site Web
Le contenu de cet article est volontairement contribué par les internautes et les droits d'auteur appartiennent à l'auteur original. Ce site n'assume aucune responsabilité légale correspondante. Si vous trouvez un contenu suspecté de plagiat ou de contrefaçon, veuillez contacter admin@php.cn
Recommandations populaires
Tutoriels populaires
Plus>
Derniers téléchargements
Plus>
effets Web
Code source du site Web
Matériel du site Web
Modèle frontal
À propos de nous Clause de non-responsabilité Sitemap
Site Web PHP chinois:Formation PHP en ligne sur le bien-être public,Aidez les apprenants PHP à grandir rapidement!