img2pdf
is a program for making pdf out of images.
Clone from the repo.
git clone https://github.com/tusqasi/img2pdf
Run this in the repo directory to install the requirements
pip install -r requirements.txt
cd img2pdf
python img2pdf ~/path_to_folde_with_images