User Tools

Site Tools


computing:imagemagick_usage

ImageMagick Usage

ImageMagick is a free and open-source software suite for displaying, creating, converting, modifying, and editing raster images. It can read and write over 200 image file formats.

How to install ImageMagick

Debian-based Linux

sudo apt install -y imagemagick

Use cases

Convert image to grayscale

convert <input> -type grayscale <output>

Resize image

convert <input> -resize HHxWW <output>

computing/imagemagick_usage.txt · Last modified: 2020-12-29T18:32:28+0000 (external edit)