Skip to content

Latest commit

 

History

History
58 lines (44 loc) · 1.71 KB

README.md

File metadata and controls

58 lines (44 loc) · 1.71 KB

Print-Images-to-PDF

alt text

Now supports TGA, TIF, ICO and BMP.

alt text

Project: Lite program to print any image, of any size and varying resolutions to PDF.

Follow Up:

#1 This uses the importion of PIL or often refered Pillow Library. PIL is a closed project. It's been forked by developers around the world. Unofficially updated everyday under the name Pillow.

alt text

#2 Installation of Pillow
Note: Pillow and PIL cannot co-exist in the same environment. Before installing Pillow, uninstall PIL.

$ pip uninstall PIL

Get pip here, if not installed on the station: https://pip.pypa.io/en/stable/installing/

#3 Now Reinstall PIL

$ pip install PIL

#4 Install Pillow

For Windows
$ pip install Pillow
Attached Pillow-5.0.0-py3.4-win-amd64.egg in the repo.
OR
$ easy_install Pillow

For Linux
$ sudo pip install Pillow

For Mac OS X
$ brew install libtiff libjpeg webp littlecms
$ sudo pip install Pillow

Now take up 15.02.2018.py from the repository and edit the simple two lines(The image name and output PDF name) so as to get the required PDF.

alt text

Adios!