Date: 20230210
- Locate your images: define
path_in
andpath_out
, the folders containing images should be put inpath_in
. One thing you should know is that the code is capable of handling multiple folders containing images, so finally you will obtain multiple pdf files. - Run the python code
img2pdf
withpython img2pdf.py
. - Check out the
path_out
and you can obtain the pdf files if the code runs successfully.