首頁 > php教程 > PHP开发 > 主體

在Linux下修復損壞的PDF文件

巴扎黑
發布: 2016-11-07 10:23:54
原創
1909 人瀏覽過

在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 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
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/  pdf

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


相關標籤:
來源:php.cn
本網站聲明
本文內容由網友自願投稿,版權歸原作者所有。本站不承擔相應的法律責任。如發現涉嫌抄襲或侵權的內容,請聯絡admin@php.cn
熱門推薦
熱門教學
更多>
最新下載
更多>
網站特效
網站源碼
網站素材
前端模板
關於我們 免責聲明 Sitemap
PHP中文網:公益線上PHP培訓,幫助PHP學習者快速成長!