A custom LinuxServer.io–based Docker image bundling ImageMagick 7 with HEIC/AVIF delegates (via libheif) on Debian Bullseye. Ideal for server-side image conversions using modern formats.
- ImageMagick 7.1.x built from source
- HEIC/AVIF support via libheif
- OpenMP acceleration when available
- LSIO base image for robust init & user handling
- Multi-architecture builds (x86_64, arm64, etc.)
Pull and convert an image:
docker run --rm \
-v "$(pwd)":/images \
cptchaz/imagemagick-container:latest \
magick input.heic output.jpg
Or use a specific released tag:
docker pull cptchaz/imagemagick-container:v1.0.0
git clone https://github.com/cptchaz/imagemagick-container.git
cd imagmagick-container
docker build -t cptchaz/imagemagick-container:latest .
If you prefer to manage your container with Docker-Compose (or Unraid’s Compose plugin), drop this into docker-compose.yml
:
yaml
version: "3.8"
services:
imagemagick:
image: cptchaz/imagemagick-container:latest
volumes:
- /mnt/user/Media:/media
- /mnt/user/appdata/imagemagick-container:/data
Then run:
docker-compose up -d
For Unraid: Until the container hits CA, do an extended search for dockerhub results in CA to find this container. Skip the default unraid config. Simply fill in those same two mappings listed above, in the container -> Volume Mappings fields
https://hub.docker.com/r/cptchaz/imagemagick-container
- Fork the repo
- Create a feature branch
- Submit a pull request against
main
MIT © 2025 Cpt. Chaz