We always need to convert word documents and images to PDF. Here’s how you can do that.
Run the command “convert” with a target PDF file name:
convert *.JPG target.pdf
With this approach you can also resize images at the same time to make the resulting PDF file smaller:
convert *.JPG -resize 1600 target.pdf
In order to easily convert Word documents to PDF I use OpenOffice feature “Export as PDF”. Just open your Word document in OpenOffice and export it as PDF.