https://github.com/my-opencode/ComfyUI_IndustrialMagick
Custom nodes to control ImageMagick subprocess from ComfyUI.
https://github.com/my-opencode/ComfyUI_IndustrialMagick
Last synced: 6 months ago
JSON representation
Custom nodes to control ImageMagick subprocess from ComfyUI.
- Host: GitHub
- URL: https://github.com/my-opencode/ComfyUI_IndustrialMagick
- Owner: my-opencode
- License: mit
- Created: 2024-06-28T23:46:21.000Z (12 months ago)
- Default Branch: main
- Last Pushed: 2024-07-31T14:04:26.000Z (10 months ago)
- Last Synced: 2024-08-01T17:39:46.477Z (10 months ago)
- Language: Python
- Size: 1.02 MB
- Stars: 1
- Watchers: 1
- Forks: 1
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
- awesome-comfyui - **ComfyUI_IndustrialMagick**
README
# ComfyUI IndustrialMagick
[ImageMagick](https://imagemagick.org/index.php) nodes for ComfyUI.
Adds nodes to call ImageMagick subprocesses from ComfyUI.
## Requirements
- ImageMagick \
Downloads: [ImageMagick 7](https://imagemagick.org/script/download.php)
- `magick` command in your CLI environment.## Nodes
### IndustrialMagick
The main node. Lets you build a subprocess call token by token. \
Supports up to 50 tokens.Expects an absolute image path as last parameter.
| Input | Type | Note |
| - | - | - |
|return_image| boolean | The node will read from file and return an image when set to true.
|param_count| integer (1-50) | Number of parameter fields to display. |
| param_x | string | Token parameter as used by python subprocess.run(). |
| Output | Type | Note |
| - | - | - |
|image| image or None | Returns an image if `return_image` is `True`.
|image_path| string | The path to the saved image. It’s actually the value of the last parameter |
|error | string | A string that says the subprocess failed. Used to determine completion status |
### IndustrialMagickImageIngest
A.K.A.: Industrial Magick Image *Loader*
A nodes that takes an image as input, saves as a temporary file and returns the temp file path to use in the `IndustrialMagick` node.
