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.1.tar.gz (3.0 kB view details)

Uploaded Source

Built Distribution

im2pdf-0.1.1-py3-none-any.whl (4.1 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for im2pdf-0.1.1.tar.gz
Algorithm Hash digest
SHA256 30c60bba63bb6ec16c8a9ca5e796c028da1298462261eab3b43a25a78b60c086
MD5 cc1cfd46cd824bf5f5582750d0abad41
BLAKE2b-256 2c317887c78ba47087df437ef4683edc9badd8febacada378ec129e3a09c8e4e

See more details on using hashes here.

File details

Details for the file im2pdf-0.1.1-py3-none-any.whl.

File metadata

File hashes

Hashes for im2pdf-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 a82f9ff16535c5e2fd873a35a55f2ccb9048ce917efb2a70b8456ba2d0c27c38
MD5 9dba06cd13930530b34b5c2523465c2f
BLAKE2b-256 3ffda8bcb8b6de4c8c8bf4125229ff8a79485bcb8234fdc8e834760d74e61845

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