【文件属性】:
文件名称:im2pdf:将图像转换为pdf并将其合并的工具
文件大小:3KB
文件格式:ZIP
更新时间:2021-05-18 20:09:29
Python
im2pdf
这是命令行工具,可将图像转换为pdf并将它们组合在一起。
支持的文件:jpeg,png,gif
安装
聚酰亚胺
建议的过程是安装PyPI软件包,因为它可以轻松保持更新。
$ pip install im2pdf
的github
从下载。
让我们推明星!!
$ git clone https://github.com/tkmru/im2pdf/
$ cd im2pdf
$ python setup.py install
用法
提供以下选项:
-i输入文件名
-o输出文件名(默认值:output.pdf)
将单个图像文件转换为PDF
$ im2pdf -i test.jpg
completed.
test.jpg --> output.pdf
$ im2pdf -i test.jpg -o test.pdf
completed.
test.jpg --> test
【文件预览】:
im2pdf-master
----setup.py(954B)
----.gitignore(252B)
----im2pdf.py(3KB)
----README.rst(2KB)