ComfyUI InfoComfyUI Info

ComfyUI-MagickWand

ComfyUI MagickWand integrates ImageMagick into ComfyUI using wandpy, supporting batch values. It offers 99 image - editing methods across 11 categories like Effect, Resize, Threshold, etc. Installation involves installing ImageMagick on different systems (Windows, Debian/Ubuntu, Fedora/CentOS, Mac) and the custom node suite via ComfyUI - Manager or command - line. Example workflows and input images are provided for testing.

Fannovel16

v1.0.1
113 stars
GitHub

Description

ComfyUI MagickWand

A proper implementation of ImageMagick, a well - known software suite for editing and manipulating digital images, into ComfyUI using wandpy.

Batch value is also supported (e.g., from Batch Value Schedule, Spline Editor, etc).

Example Schedule

Example Workflow

Installation

Install ImageMagick on Your System

Install ImageMagick on Windows

For other CPU architectures, please download dynamic builds (ones with "dll" in the name). A static or portable build won't work as it doesn't have the necessary DLL files.

Install ImageMagick on Debian/Ubuntu

If you're using Linux distributions based on Debian, such as Ubuntu, you can easily install ImageMagick using APT:

sudo apt-get install libmagickwand-dev
Install ImageMagick on Fedora/CentOS

If you're using Linux distributions based on Redhat, like Fedora or CentOS, you can install ImageMagick using Yum:

yum update
yum install ImageMagick-devel
Install ImageMagick on Mac

You need either Homebrew or MacPorts to install ImageMagick.

For Homebrew:

brew install imagemagick

For MacPorts:

sudo port install imagemagick

If your Python is not installed using MacPorts, you also have to export the MAGICK_HOME path. This is because Python that is not installed using MacPorts doesn't look up /opt/local, which is the default path prefix of MacPorts packages.

export MAGICK_HOME=/opt/local

Install Custom Node Suite

There are two ways to install the custom node suite:

  1. Through ComfyUI-Manager
  2. Run the following commands, assuming your terminal is already in the ComfyUI folder:
cd custom_nodes
git clone https://github.com/Fannovel16/ComfyUI-MagickWand
pip install -r requirements.txt

Supported Methods (99)

Effect

Resize

Threshold

Enhance

Transform

Feature