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.

Files for im2pdf, version 0.1.1
Filename, size File type Python version Upload date Hashes
Filename, size im2pdf-0.1.1-py3-none-any.whl (4.1 kB) File type Wheel Python version 3.6 Upload date Hashes View hashes
Filename, size im2pdf-0.1.1.tar.gz (3.0 kB) File type Source Python version None Upload date Hashes View hashes

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page