How To Install Convert On Debian, Ubuntu, Alpine, Arch, Kali, Raspbian And MacOS?

How To Install Convert On Debian, Ubuntu, Alpine, Arch, Kali, Raspbian And MacOS?

convert

Imagemagick image conversion tool.

Maintainer: Laszlo Boszormenyi (GCS)



Section: graphics

Install convert

  • Debian apt-get install graphicsmagick-imagemagick-compat Click to copy
  • Ubuntu apt-get install graphicsmagick-imagemagick-compat Click to copy
  • Alpine OS apk add imagemagick6 Click to copy
  • Arch Linux pacman -S imagemagick6 Click to copy
  • Kali Linux apt-get install graphicsmagick-imagemagick-compat Click to copy
  • Raspbian apt-get install graphicsmagick-imagemagick-compat Click to copy
  • macOS brew install [emailu00a0protected] Click to copy

Imagemagick image conversion tool.

How to use convert?

Below are few example commands for convert that you can use in the terminal.

Convert an image from JPG to PNG:
convert image.jpg image.pngClick to copy
Scale an image 50% its original size:
convert image.png -resize 50% image2.pngClick to copy
Scale an image keeping the original aspect ratio to a maximum dimension of 640x480:
convert image.png -resize 640x480 image2.pngClick to copy
Horizontally append images:
convert image1.png image2.png image3.png +append image123.pngClick to copy
Create a gif from a series of images with 100ms delay between them:
convert image1.png image2.png image3.png -delay 100 animation.gifClick to copy
Install the latest version of convert in Debian, Ubuntu, Alpine, Arch, Kali, Raspbian and macOS from terminal. To install the convert just copy the above command for your OS and run into terminal. After you run the command it will grab the latest version of convert from the respository and install it in your computer/server.