ImageMagick is a suite of command-line utilities for modifying and working with images.

ImageMagick can perform a wide variety of operations.

Installation

ImageMagick isn’t included in the default installations of Ubuntu and many other Linux distributions.

How to Quickly Resize, Convert & Modify Images from the Linux Terminal

One of the most basic things you could do with it is converting images between formats.

ImageMagick uses the quality level of the input image, if possible.

If not, ImageMagick defaults to 92.

convert formats

Resizing Images

The convert command can also quickly resize an image.

ImageMagick will venture to preserve the aspect ratio if you use this command.

Applying Effects

ImageMagick can apply a variety of effects to an image.

Using imagemagick to resize an image in the Linux terminal.

Combining Operations

All these operations can be combined.

There are many more operations you might combine.

it’s possible for you to easily modify this command to perform other actions.

rotate

you might also integrate batch processing commands into aBash shell scriptto automate image-processing operations.

Linux Commands

Files

tarpvcattacchmodgrepdiffsedarmanpushdpopdfscktestdiskseqfdpandoccd$PATHawkjoinjqfolduniqjournalctltailstatlsfstabecholesschgrpchownrevlookstringstyperenamezipunzipmountumountinstallfdiskmkfsrmrmdirrsyncdfgpgvinanomkdirdulnpatchconvertrcloneshredsrmscpgzipchattrcutfindumaskwctr

Processes

aliasscreentopnicereniceprogressstracesystemdtmuxchshhistoryatbatchfreewhichdmesgchfnusermodpschrootxargsttypinkylsofvmstattimeoutwallyeskillsleepsudosutimegroupaddusermodgroupslshwshutdownreboothaltpoweroffpasswdlscpucrontabdatebgfgpidofnohuppmap

Networking

netstatpingtracerouteipsswhoisfail2banbmondigfingernmapftpcurlwgetwhowhoamiwiptablesssh-keygenufwarpingfirewalld

charcoal

howtogeek-charcoal

implode

howtogeek-imploded

howtogeek-complex

batch processing