Convert Image to PDF in Linux

Arumusutakimu
Jul 8, 2022

--

Hi! In this article, I’m going to show you how to convert your one image or multiple images to PDF document.

In Linux, there’s utility called img2pdf. This tool used for crate a pdf document from your image file. You can crate from 1, 2 , or so on images file to pdf with this tool.

Install img2pdf from your repo via terminal (for Debian/Ubuntu-based) :

sudo apt update

sudo apt install img2pdf

NB : If you use another distro, just install it with your package manager depends your distor

[ Usage ]

img2pdf imagefile.jpg -o namepdf.pdf

For multiple images, just add other files as an argument before ‘-o’ parameter.

E.x. : img2pdf image1.png image2.jpg image3.jpeg -o outfile.pdf

--

--

No responses yet