...
This is actually built on LaTeX I think, but is considered a pretty mature and robust implementation for putting images together into a PDF. Would be shell-out to command line.
It may have an apt package that installs all needed dependencies including LaTeX?
...