Skip to content

dubbyding/Image-to-Pdf

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

36 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Image-to-Pdf

Images to pdf for assignment submission
To execute: run.py
Note: While selecting multiple file choosing one at a time is suggested.
In order to rotate the image just click on the image you want to rotate shown inside the application window plot

Requirements

  • Python
  • Pillow -> pip install pillow Or,
  • pip install -r requirements.txt
  • Note: Update Pip
  • python -m pip install --upgrade pip
*Note:* Just executing run.py after installing python will run the program. Initial run may take sometime to resolve dependency

Note: Virtual Environment must be installed.
Windows:
py -m pip install --user virtualenv
Linux
python3 -m pip install --user virtualenv\

Information

After running the program, pdf folder is made on which pdf files are saved in number i.e. 1.pdf, 2.pdf, 3.pdf, etc.

For the case of Linux

Tkinter might not be installed by default so we have to install it manually.

For Debian/Ubuntu:

Python 2

sudo apt-get install python-tk

sudo apt-get install python-imaging python-pil.imagetk

Python 3

sudo apt-get install python3-tk

sudo apt-get install python3-pil python3-pil.imagetk

For Archlinux:

sudo pacman -S python-pillow

It will install the package and you can use it: from PIL import ImageTk

About

Images to pdf for assignment submission

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages