# ImageMagick Components: - `convert`: image conversion tool ## TL;DR ```sh # scale an image to 50% its original size convert IMG_20200117_135049.jpg -adaptive-resize 50% IMG_20200117_135049_resized.jpg # create a gif using images magick *.jpg images.gif # convert n images to individual pdf pages magick *.jpg +adjoin page-%d.pdf # convert n images to a single pdf document magick *.png out.pdf ``` ## Further readings - [Website] - [cheat.sh/convert] [cheat.sh/convert]: https://cheat.sh/convert [website]: https://imagemagick.org ## Sources - [Converting Multiple Images into a PDF File] - [How to Quickly Resize, Convert & Modify Images from the Linux Terminal] [converting multiple images into a pdf file]: https://legacy.imagemagick.org/discourse-server/viewtopic.php?p=144157&sid=e7706233f81874af86ffbbf3e57b1e76#p144157 [how to quickly resize, convert & modify images from the linux terminal]: https://www.howtogeek.com/109369/how-to-quickly-resize-convert-modify-images-from-the-linux-terminal/