You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
img2pdf is an open source Python package to convert images to pdf format. It includes another module Pillow which can also be used to enhance image (Brightness, contrast and other things)
6
+
7
+
---
8
+
9
+
## Installation
10
+
11
+
You will need `img2pdf` package installed, you can install it by running the following command
12
+
13
+
```bash
14
+
pip install img2pdf
15
+
```
16
+
17
+
---
18
+
19
+
## Steps To Execution
20
+
21
+
- Fork this repo and navigate to `IMAGES & PHOTO SCRIPTS` folder
22
+
- (optional) Add images to same directory with this img2pdf.py.
23
+
- Modify the names in `img2pdf.py`
24
+
- Run this img2pdf.py `$ python img2pdf.py`
25
+
- The output directory will now include a brand-new PDF file.
26
+
27
+
---
28
+
29
+
## Output
30
+
31
+
```bash
32
+
Image contains an alpha channel. Computing a separate soft mask (/SMask) image to store transparency in PDF.
0 commit comments