Lossless convert PNG image stack to PDF
The Python package img2pdf losslessly converts PNG images to PDF.
Install it with:
pip install img2pdfThe command line program “img2pdf” can do many tasks, but even more power comes from making a brief Python script. Here are simple command line examples.
Convert a single PNG to PDF:
img2pdf in.png -o out.pdfConvert multiple PNG images to a single PDF:
img2pdf *.png -o joined.pdf