Honestly, I think you’re overcomplicating it a bit. PIL + img2pdf is totally fine for most cases. Just make sure your webp files are in RGB mode before converting to pdf.
If you’re dealing with a ton of files, maybe look into `os` or `glob` to automate the batch process.
If you’re dealing with a ton of files, maybe look into `os` or `glob` to automate the batch process.
