Setup ImageMagick
ActionsTags
(2)This action downloads the latest ImageMagick binary and adds it to the PATH.
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
Setup ImageMagick is not certified by GitHub. It is provided by a third-party and is governed by separate terms of service, privacy policy, and support documentation.