ImageMagick

Overview

  • ImageMagick: is a free and open-source software suite for displaying, converting, and editing raster image and vector image files. It can read and write over 200 image file formats, and can support a wide range of image manipulation operations, such as resizing, cropping, and color correction.

Using

Use the module name imagemagick to discover versions available and to load the application.

To display images, either run the command from a login node, or start an Interactive Desktop via SouthPass.

If you try and call from a compute node you will see the follow form of error:

[@ttest01 testing]$ display Gamecube-console.jpg display: unable to open X server `localhost:11.0' @ error/display.c/DisplayImageCommand/430.

Multicore

The imagemackick application has built in OpenMP support, so allows the use of multi cores when requested as a resource. More details can be found under the Threads of Execution page.

For example:

[]$ module load gcc/12.2.0 imagemagick/7.0.8-7 []$ magick identify -version Version: ImageMagick 7.0.8-7 Q16 x86_64 2023-01-19 https://www.imagemagick.org Copyright: © 1999-2018 ImageMagick Studio LLC License: https://www.imagemagick.org/script/license.php Features: Cipher DPC HDRI OpenMP Delegates (built-in): bzlib fontconfig freetype jng jpeg lzma pangocairo png tiff x xml zlib