Skip to main content
This is command line tool that convert images to pdf and unite them.
Supported file: jpeg, png, gif

Installation

PyPI

The recommended process is to install the PyPI package, as it allows easily staying update.

$ pip install im2pdf

github

Let’s push star!!
$ git clone https://github.com/tkmru/im2pdf/
$ cd im2pdf
$ python setup.py install

Usage

The following options are available:
-i input file name
-o output file name(default: output.pdf)
convert single image file to PDF
$ im2pdf -i test.jpg
completed.
test.jpg --> output.pdf

$ im2pdf -i test.jpg -o test.pdf
completed.
test.jpg --> test.pdf
convert some file to single PDF.
It support some pdf, too.
ex) test1.jpg, test2.jpg, test3.jpg to output.pdf
$ im2pdf.py -i test*.jpg
completed.
Union of some file is output.pdf
ex) test1.jpg, test2.jpg, test3.jpg to test.pdf
$ im2pdf.py -i test*.jpg -o test.pdf
completed.
Union of some file is test.pdf

License

MIT License

THE SOFTWARE IS PROVIDED “AS IS”, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

Copyright (c) @tkmru

Release files for im2pdf 0.1.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for im2pdf 0.1.1
File Size Uploaded
im2pdf-0.1.1.tar.gz 3.0 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for im2pdf 0.1.1
File Interpreter ABI Platform
im2pdf-0.1.1-py3-none-any.whl Python 3 none any Details

Total release size:7.1 kB

Release files / im2pdf-0.1.1.tar.gz

Download URL im2pdf-0.1.1.tar.gz
Size 3.0 kB
Tags Source
SHA-256 checksum
How to use checksums
30c60bba63bb6ec16c8a9ca5e796c028da1298462261eab3b43a25a78b60c086
BLAKE2b-256 checksum
How to use checksums
2c317887c78ba47087df437ef4683edc9badd8febacada378ec129e3a09c8e4e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release files / im2pdf-0.1.1-py3-none-any.whl

Download URL im2pdf-0.1.1-py3-none-any.whl
Size 4.1 kB
Tags Python 3
SHA-256 checksum
How to use checksums
a82f9ff16535c5e2fd873a35a55f2ccb9048ce917efb2a70b8456ba2d0c27c38
BLAKE2b-256 checksum
How to use checksums
3ffda8bcb8b6de4c8c8bf4125229ff8a79485bcb8234fdc8e834760d74e61845
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release history Release notifications | RSS feed

This release

0.1.1 This release

2 release files

0.1

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page