Skip to content

Press Enter to take screenshots of a specific area of the screen repeatedly, and convert them into a single PDF file.

License

Notifications You must be signed in to change notification settings

0npv527yh9/Screenshot-to-PDF

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

21 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Screenshot-to-PDF

Overview

  • You can take screenshots of a specified area of the screen repeatedly by pressing the Enter key.
  • You can convert all the images into a single PDF file.

Usage

Launch

$ python screenshot.py

Setting

setting

  • You can change the directory where images are saved.
  • You can change the starting number of images.
    • Images are saved in the format of "000.png", "001.png", and so on.

Screenshot

screenshot

  • The area in the red frame will be screenshot.
  • You can change the area as you want.

Press Enter on the screen above to save the following image: result

Conversion to PDF

convert_pdf

  • When you close the window, this dialog will appear.
  • If you select "Yes", output.pdf will be generated.

Note

  • If there are any unnecessary images among the saved images, delete them and execute the following:
    $ python png2pdf.py
    • A dialog box will appear. Select the directory where the you saved images.

Installation

$ git clone [email protected]:0npv527yh9/Screenshot-to-PDF.git
$ cd Screenshot-to-PDF
$ pip install -r requirements.txt
  • Of course, you can create a virtual environment if necessary.

Required External Libraries

  • Pillow
  • img2pdf

About

Press Enter to take screenshots of a specific area of the screen repeatedly, and convert them into a single PDF file.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages