Inspired from Img2pdf project.
Features:
bash
$> image2pdf assets/* --output output.pdf --pagesize 150mmx150mm
Output: Pdf file
bash
$> image2pdf assets/* --output output.pdf
Output: Pdf file
bash
$> image2pdf assets/* --output output.pdf --pagesize A4
Output: Pdf file
bash
$> image2pdf assets/* --output output.pdf --pagesize A4^T
Output: Pdf file