- 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.
$ python screenshot.py
- 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.
- 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:
- When you close the window, this dialog will appear.
- If you select "Yes",
output.pdf
will be generated.
- 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.
$ 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.
Pillow
img2pdf