Sign inSign up

dstmodders/imagemagick

By dstmodders

•Updated 9 days ago

Dockerized latest and legacy versions of ImageMagick.

Image
Developer tools
0

10K+

dstmodders/imagemagick repository overview

Note: We officially maintain the last 5 minor versions for each ImageMagick⁠ variant (latest and legacy), each with its latest patch. When a new minor version is added, the oldest one is removed. Older patches are removed from the public registries as newer ones are released.

Note: Due to possible inconsistencies in the upstream ImageMagick6⁠ and ImageMagick⁠ repositories, some versions exist as GitHub tags but are not listed as releases (e.g., 7.1.2-14 in ImageMagick⁠). These versions are still built and published.

ImageMagick Logo

⁠Overview

Docker⁠ images for both the latest and legacy ImageMagick⁠ versions.

They are meant to be used as the base for other Docker⁠ images, much like how we use them in our own endeavors such as dstmodders/docker-ktools⁠. However, you can use them directly as well.

⁠Usage

For the latest ImageMagick 7⁠:

$ docker pull dstmodders/imagemagick:latest
# or
$ docker pull ghcr.io/dstmodders/imagemagick:latest

For the latest legacy ImageMagick 6⁠:

$ docker pull dstmodders/imagemagick:legacy
# or
$ docker pull ghcr.io/dstmodders/imagemagick:legacy

See tags⁠ for a list of all available versions.

⁠Shell/Bash (Linux & macOS)
$ docker run --rm -v "$(pwd):/data/" dstmodders/imagemagick magick input.gif -negate output.gif
⁠CMD (Windows)
> docker run --rm -v "%CD%:/data/" dstmodders/imagemagick magick input.gif -negate output.gif
⁠PowerShell (Windows)
PS:\> docker run --rm -v "${PWD}:/data/" dstmodders/imagemagick magick input.gif -negate output.gif

⁠Supported environment variables

NameImageValueDescription
IMAGEMAGICK_VERSIONlatest
legacy
7.1.2-32
6.9.13-57
ImageMagick⁠ version

⁠Supported build arguments

NameImageDefaultDescription
IMAGEMAGICK_VERSIONlatest
legacy
7.1.2-32
6.9.13-57
Sets ImageMagick⁠ version

⁠Supported architectures

ImageArchitecture(s)
latestlinux/amd64, linux/386, linux/arm64, linux/arm/v7
legacylinux/amd64, linux/386, linux/arm64, linux/arm/v7

⁠Build

To build images locally:

$ docker build --tag='dstmodders/imagemagick:alpine' ./latest/alpine/
$ docker build --tag='dstmodders/imagemagick:debian' ./latest/debian/
$ docker build --tag='dstmodders/imagemagick:legacy-alpine' ./legacy/alpine/
$ docker build --tag='dstmodders/imagemagick:legacy-debian' ./legacy/debian/

Respectively, to build multi-platform images using buildx⁠:

$ docker buildx build --platform='linux/amd64,linux/386,linux/arm64,linux/arm/v7' --tag='dstmodders/imagemagick:alpine' ./latest/alpine/
$ docker buildx build --platform='linux/amd64,linux/386,linux/arm64,linux/arm/v7' --tag='dstmodders/imagemagick:debian' ./latest/debian/
$ docker buildx build --platform='linux/amd64,linux/386,linux/arm64,linux/arm/v7' --tag='dstmodders/imagemagick:legacy-alpine' ./legacy/alpine/
$ docker buildx build --platform='linux/amd64,linux/386,linux/arm64,linux/arm/v7' --tag='dstmodders/imagemagick:legacy-debian' ./legacy/debian/

⁠License

Released under the MIT License⁠.

Tag summary

Content type

Image

Digest

sha256:6a0cdd188…

Size

57 MB

Last updated

9 days ago

docker pull dstmodders/imagemagick