The script takes a .zip archive as an input, extracts it in /tmp/, gets all the extracted images and puts them in a PDF file and then saves that PDF in the CWD
Download zip and then install img2pdf
using
pip install img2pdf
python image2pdf some_archive.zip