imagemagick


imagemagick, a program that can create, edit, compose or convert graphical information as stored in many different file formats.

imagemagick can resize, flip, mirror, rotate, distort, shear and transform images, adjust image colors, apply various special effects, or draw text, lines, polygons, ellipses and Bézier curves.

Web Site:

https://www.imagemagick.org/script/index.php .

Reference:

  1. https://www.imagemagick.org/script/command-line-processing.php
  2. Michael Still,
    The Definitive Guide to ImageMagick,
    Apress, 2005,
    ISBN: 978-159-059-5909.

Examples and Tests:

The file balloons_noisy.png contains a lot of speckle noise. We remove most of the noise using the ImageMagick convert command with the "-noise 3" switch. We make versions of the image with just 2, 4, 8 or 16 colors using the "-colors n" switch. We left-right reverse the image with the "-flop" switch.

append_test: The +append command can be used to concatenate several images in a row, and the -append command does the same in a column. By combining these two commands, we can make a 2x2 table of some of our balloon images.

flop_test: The -flop command can be used to left-right reverse an image.


Last revised on 07 January 2021.