ComfyUI Node
GPU LayerStyles ColorMatch
Match RGB using color-matcher's MKL or analytical MVGD algorithms. Use one reference or one per target frame. MKL accepts any reference resolution; MVGD requires equal height and width and uses corresponding pixel positions. Target alpha is preserved.
GPU LayerStyles ColorMatch
- image
- image_ref
- image
◄methodmkl►
◄strength1.00►
◄output_devicecpu►
◄batch_size0►
CategoryGPU LayerStyles/Color
Inputs (6)
| Name | Type | Default | Description |
|---|---|---|---|
| image | IMAGE | — | |
| image_ref | IMAGE | — | |
| method | COMBO | mkl | 2 options: mkl, mvgd |
| strength | FLOAT | 1.000–1 | — |
| output_device | COMBO | cpu | Return output on CPU (default) after float32 processing on ComfyUI's selected compute device. GPU keeps output on that device to avoid transfers between compatible nodes. ComfyUI CPU mode returns CPU output. |
| batch_size | INT | 00–2147483647 | Frames per processing chunk. 0 starts at up to 64 frames. Positive values can exceed 64, capped by the output length. Allocation failures halve the chunk size for this run; each run starts fresh. Complete inputs and outputs still need memory. Pass smaller batches through the entire workflow to reduce complete-batch memory. |
Outputs (1)
| Name | Type | Description |
|---|---|---|
| image | IMAGE | — |