Following code shows you how to convert a set of JPEG images to a single PDF file. This was tested on windows 10. You need the following libraries installed before everything. pdf2image (https://pypi.org/project/pdf2image/) PyFPDF (https://pyfpdf.readthedocs.io/en/latest/) Pillow (https://pillow.readthedocs.io/en/stable/index.html) Make sure your