https://blog.aspose.com/pdf/generate-pdf-from-images-in-python/
Generate PDF from Images in Python