Ubuntu – Create a single pdf from multiple text, images or pdf files

filesimage processingmergepdf

I have a bunch of text files, images and pdf files which I want to convert into a single pdf file. How do I do it?

Best Answer

If you're willing to use a terminal, you can use ImageMagick. Install it with

sudo apt install imagemagick

then you can do:

convert image1.jpg image2.png text.txt PDFfile.pdf outputFileName.pdf

It worked for me, but the problem is it converts the text.txt file into an image, so you can't highlight the text in the resulting pdf.

Related Question