/imagemagick-docker

Running the latest version of imagemagick inside container

MIT LicenseMIT

Docker Automated build Docker Pulls ci

imagemagick-docker

Overview

Delivers the latest version of the ImageMagick 7 to your environment in Docker container.

The purpose of that image is to be able to run the latest version of ImageMagick in stable Linux environment with supporting modern web formats.

Usage

By default, container will run convert command

$ docker run -v /your/images:/imgs dpokidov/imagemagick /imgs/sample.png -resize 100x100 /imgs/resized-sample.png

You can change entrypoint and pass other IM commands to execute. For instance,

$ docker run --entrypoint=identify -v /your/images:/imgs dpokidov/imagemagick /imgs/sample.png

Base images

There are four base images: Debian Bullseye (stable) and Ubuntu Focal. By default, Debian bullseye is used.

Use tags to switch between base images.

Not all images support the same features. Below is a table of known formats supported by different base images:

Base Image Jpeg PNG WebP AVIF JPEG XL JpegXR PDF TIFF
Debian Bullseye
Ubuntu Focal