If you want to combine images into a pdf file, then you can do this with a small script in python.
First, run the following commands to setup the project directory
Next, you need to add images into the sources
directory.
If the order matter, make sure you name the files with a numerical sequence.
Once you have the project ready, create a python script convert.py
with the following content:
To generate the pdf file, run python3 convert.py
and if it runs successfully, it will generate my-document.pdf
file.