Cross-platform command-line tool for creation of PDF documents from scans/photos of pages in JPEG (.jpg) format and the lightest weight ANSI C library to put multiple JPEG files into one PDF file.
https://sourceforge.net/projects/jpeg2pdf/
origin - https://www.pipiscrew.com/?p=15336 jpeg2pdf