Skip to main content

Tool to convert image to pdf and unite them.

Project description

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

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

im2pdf-0.1.tar.gz (2.8 kB view details)

Uploaded Source

Built Distribution

im2pdf-0.1-py3.4.egg (5.1 kB view details)

Uploaded Source

File details

Details for the file im2pdf-0.1.tar.gz.

File metadata

  • Download URL: im2pdf-0.1.tar.gz
  • Upload date:
  • Size: 2.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for im2pdf-0.1.tar.gz
Algorithm Hash digest
SHA256 e74b84eabb9c89999f86b9b3b8f714fecfb5abdfa6f6d35b5977e752296ef38b
MD5 ed2950616dce18f32c60e01c5371558f
BLAKE2b-256 49daed46c58654a7b750d791e4c98db9eb61318973fa8c0f930b0a51e2c9a691

See more details on using hashes here.

File details

Details for the file im2pdf-0.1-py3.4.egg.

File metadata

  • Download URL: im2pdf-0.1-py3.4.egg
  • Upload date:
  • Size: 5.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for im2pdf-0.1-py3.4.egg
Algorithm Hash digest
SHA256 7473c4c2353352494849374dacbed68cbf83198728d5e347c3c065c99ecb3eea
MD5 7ed0889fa44db95c09e0ca40e4770f2e
BLAKE2b-256 34355f9ef1eb7b1238eff35766320e8a65b004dcd909a7b46e7ebd78851f4492

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page