Skip to content

📷 🔗 📋 Lite program to print any TGA, TIF, ICO, BMP, JPG, PNG and GIF image, of any size and varying resolutions to PDF.

Notifications You must be signed in to change notification settings

yashpathack/Print-Images-to-PDF

Repository files navigation

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!

About

📷 🔗 📋 Lite program to print any TGA, TIF, ICO, BMP, JPG, PNG and GIF image, of any size and varying resolutions to PDF.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages