If you’re dealing with bulk webp to pdf conversions, I’d suggest `pdfbuilder`. It’s niche but efficient:
```python
from pdfbuilder import PDF
pdf = PDF()
pdf.add_image('image.webp')
pdf.save('output.pdf')
```
Might need to `pip install pdfbuilder` first. Docs are sparse, but it’s dead simple.
```python
from pdfbuilder import PDF
pdf = PDF()
pdf.add_image('image.webp')
pdf.save('output.pdf')
```
Might need to `pip install pdfbuilder` first. Docs are sparse, but it’s dead simple.
