IMG to PDF
我们需要将多张图片合并为 PDF 文档,所以该部分将记录将 IMG 转化为 PDF 的方法;
gscan2pdf
How to Convert Multiple Images to PDF in Ubuntu Linux
apt install gscan2pdf // => File => Open // => 选中所有图片 // => Save => PDF
PDF to IMG
Compile a LaTeX document into a PNG image that’s as short as possible
我们需要将 PDF 转化为图 IMA 文件。该部分将记录将 PDF 转为 PNG 图片的方法;
latex(失败)
latex to dvi to png 对 \rotatebox 支持有问题,我们只能 latex to pdf to png)
ImageMagick: convert
convert -density 300 file.pdf -quality 90 file.png
Q:attempt to perform an operation not allowed by the security policy `PDF’
A:参考 ImageMagick 笔记
参考文献