【结构原理篇】
1、什么是PDF
2、PDF文件结构——物理结构
3、PDF文件结构——逻辑结构
4、一个简单PDF文件的结构分析
5、PDF文件中交叉引用流对象(cross-reference stream)的解析方法
【iText/iTextSharp】
1、iText Developers
2、itextsharp sourceforge
3、itextsharp github
4、iTextSharp快速使用指南
【水印篇】
1、PDF去水印资源索引
2、使用PDFlib-6.0.2库生成PDF文档的水印清除方法
3、PDF内容抽取:3-Heights PDF Extract
4、某些情况下可以用 mutool.exe clean -d 解压pdf后再分析。
【ghostscript】
1、Ghostscript官网。
2、gs命令行参数。
3、ps2pdf: PostScript-to-PDF converter。
4、ghostpdl-downloads。(github)
5、Compress PDF files with ghostscript。(github)
1
2
3
4
5
6
7
8
9
10
|
ghostscript -sDEVICE=pdfwrite -dCompatibilityLevel=1.4 -dPDFSETTINGS= /printer -dNOPAUSE -dQUIET -dBATCH -sOutputFile=output.pdf input.pdf
ghostscript -sDEVICE=pdfwrite
-dCompatibilityLevel=1.4
-dPDFSETTINGS= /printer
-dNOPAUSE
-dQUIET
-dBATCH
-sOutputFile=output.pdf
input.pdf
|
6、用 gs 将 eps 图片转为 png 图片:EPS to JPEG or PNG by Python
1
|
ghostscript -dBATCH -dNOPAUSE -dEPSCrop -r300 -sDEVICE=png256 -sOutputFile=out.png in .eps
|
【mupdf】
1、mupdf官网。
2、CentOS编译mupdf。
【PDF文件属性】(商业软件不可更改Producer的值)
|
Producer |
Creator |
福昕阅读器 |
创建工具 |
生成器 |
Adobe Reader |
PDF 制作程序 |
应用程序 |
【在线工具】
1、pdf to jpg - CloudConvert
2、在线pdf压缩(smallpdf)
*** walker ***
本文转自walker snapshot博客51CTO博客,原文链接http://blog.51cto.com/walkerqt/1870504如需转载请自行联系原作者
RQSLT