Convert multiple jpg into pdf using `imagemagick-docker`

## Pull image
docker pull dpokidov/imagemagick
## Run the convert command
## -v to mount the volume
## --entrypoint to use the command from imagemagick
## jpg files are in /img/input_*.jpg and produce /imgs/output.pdf
docker run --entrypoint=convert \
-v /Documents/local-images/:/imgs dpokidov/imagemagick \
'/imgs/input_*.jpg' /imgs/output.pdf

--

--

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store