Skip to content
You're viewing an older version of this GitHub Action. Do you want to see the latest version instead?
image

GitHub Action

Setup ImageMagick

v3.0.0

Setup ImageMagick

image

Setup ImageMagick

Download the latest ImageMagick binary and add it to the PATH

Installation

Copy and paste the following snippet into your .yml file.

              

- name: Setup ImageMagick

uses: mfinelli/setup-imagemagick@v3.0.0

Learn more about this action in mfinelli/setup-imagemagick

Choose a version

setup-imagemagick

This action downloads the latest ImageMagick binary and adds it to the PATH.

Inputs

Outputs

Example usage

steps:
  - uses: mfinelli/setup-imagemagick@v2
  - run: magick input.jpg -resize 100x100 output.jpg

  # IMPORTANT: on ubuntu-22.04/ubuntu-latest runners it is necessary to
  # install libfuse2 before running the `magick` command as AppImage still
  # depends on libfuse2 which is no longer shipped by default.
  # see the AppImage project for issues about shipping static fuse2 or
  # upgrading to fuse3: https://github.com/AppImage/AppImageKit
  # see: https://github.com/mfinelli/setup-imagemagick/issues/242
  - run: sudo apt-get install -y libfuse2