Repolode
PrzemekSkw

PrzemekSkw/imagemagick-webui

Self-hosted web GUI for ImageMagick with one-click AI background removal, batch processing, and a live editor, deployed via Docker.

Open-source alternative to:PhotoshopCanva

Stars
144
Forks
6
Open issues
1
Last commit
6 days ago

What is it?

ImageMagick WebGUI wraps the ImageMagick command-line image toolkit in a browser interface, so users can resize, crop, rotate, flip, filter, watermark and convert images without writing commands. It offers conversion among formats such as WebP, AVIF, JPEG, PNG, GIF, TIFF and PDF, and a Terminal Mode for entering raw ImageMagick commands directly.

The AI features use rembg for background removal, along with automatic enhancement and 2x/4x upscaling built on the LANCZOS algorithm. Batch jobs run through a Redis-backed queue processed by an RQ worker, and a history view allows re-downloading earlier outputs.

The stack is a Next.js 15 frontend, a FastAPI backend with PostgreSQL, and Redis, started together with docker compose. The backend exposes Swagger and ReDoc API docs, and the operation whitelist, timeouts and memory limits are intended to constrain what users can run.

Key features

  • 01Resize, crop, rotate, flip, and apply filters like blur, sharpen, and sepia.
  • 02Add custom text watermarks with position, opacity, and font size control.
  • 03Convert between WebP, AVIF, JPEG, PNG, GIF, TIFF, and PDF.
  • 04One-click AI background removal powered by rembg.
  • 05Batch processing with a Redis-backed job queue.
  • 06Terminal Mode for running raw ImageMagick commands.

Use cases

  • Self-hosting an image conversion and editing service for a small team.
  • Batch-converting product photos to WebP or AVIF for a website.
  • Removing backgrounds from images without installing Python tools locally.
  • Giving non-technical users a GUI over ImageMagick operations.

Quick start

  1. 1

    Create a project folder and enter it

    mkdir imagemagick-webgui && cd imagemagick-webgui
  2. 2

    Download the example compose file

    curl -O https://raw.githubusercontent.com/PrzemekSkw/imagemagick-webui/main/docker-compose.example.yml
  3. 3

    Rename it to docker-compose.yml

    mv docker-compose.example.yml docker-compose.yml
  4. 4

    Start the services, then open http://localhost:3000

    docker compose up -d

Things to know

  • Change SECRET_KEY and JWT_SECRET in docker-compose.yml before any production deployment.
  • Requires running several services (backend, frontend, PostgreSQL, Redis, worker) via Docker.

Topics

FAQ

What is imagemagick-webui?
Self-hosted web GUI for ImageMagick with one-click AI background removal, batch processing, and a live editor, deployed via Docker. ImageMagick WebGUI wraps the ImageMagick command-line image toolkit in a browser interface, so users can resize, crop, rotate, flip, filter, watermark and convert images without writing commands. It offers conversion among formats such as WebP, AVIF, JPEG, PNG, GIF, TIFF and PDF, and a Terminal Mode for entering raw ImageMagick commands directly.
Is imagemagick-webui free to use? What license does it have?
imagemagick-webui is open source under the MIT license. Check the license terms before using it in commercial products.
Is imagemagick-webui still maintained?
Actively maintained. The last commit to imagemagick-webui was on Oct 14, 2026.
What can I use imagemagick-webui for?
Self-hosting an image conversion and editing service for a small team. Batch-converting product photos to WebP or AVIF for a website. Removing backgrounds from images without installing Python tools locally. Giving non-technical users a GUI over ImageMagick operations.
How do I install imagemagick-webui?
Create a project folder and enter it: mkdir imagemagick-webgui && cd imagemagick-webgui Download the example compose file: curl -O https://raw.githubusercontent.com/PrzemekSkw/imagemagick-webui/main/docker-compose.example.yml Rename it to docker-compose.yml: mv docker-compose.example.yml docker-compose.yml Start the services, then open http://localhost:3000: docker compose up -d
Where can I get imagemagick-webui?
The source code and installation instructions are on GitHub: https://github.com/PrzemekSkw/imagemagick-webui

Summary generated by AI from the project's README. GitHub stats refresh daily.

Related projects