Now supports TGA, TIF, ICO and BMP.
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.
#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.
Adios!