#!/bin/bash # Exit immediately on error, treat unset variables as errors, propagate pipe failures. set -euo pipefail # Load shared log/skip/warn/err helpers from the installer library. source "$(dirname "${BASH_SOURCE[0]}")/../../lib/logging.sh" log "Installing ImageMagick..." # ImageMagick provides the convert/mogrify/identify CLI tools for image manipulation, # format conversion, and batch processing. It is in the official Arch repos. sudo pacman -S --noconfirm --needed imagemagick log "ImageMagick installed."