ComfyUI_PS_Blend_Node

ComfyUI_PS_Blend_Node
★ 2

ComfyUI 节点图像混合PS 混合模式不支持 alpha
在 ComfyUI 中用 PyTorch 实现 Photoshop 风格的多种图层混合模式,可按不透明度将两张同尺寸图像逐像素混合,便于快速合成与调色(不支持 alpha)。
💡 对两张同尺寸图像按 PS 风格混合并调节不透明度
🍴 3 Forks💻 Python🔄 2025-03-31
📦
网盘下载
复制链接后前往夸克网盘下载
https://pan.quark.cn/s/f414772aa5c3
📦 requirements.txt
torch
📄 README

ComfyUI PS Blend Node

This repository contains a simple custom node for ComfyUI that implements familiar PS-style blend modes using PyTorch. The PSBlendNode allows you to blend two images together using a variety of blending modes and an opacity parameter.

Features

  • Supports multiple blend modes including Normal, Darken, Multiply, Color Burn, Linear Burn, Lighten, Screen, Color Dodge, Linear Dodge, Overlay, Soft Light, Hard Light, Difference, Exclusion, Subtract, Divide, Hue, Saturation, Color, and Luminosity.
  • Blends images with an adjustable opacity setting.
  • (current version does not support alpha / transparency)
  • Installation

    To install this node, clone the repository into the custom_nodes directory of your ComfyUI installation:

    cd path/to/ComfyUI/custom_nodes
    git clone https://github.com/bluevisor/ComfyUI_PS_Blend_Node.git PSBlendNode

    Usage

  • To use the PSBlendNode, follow these steps:
  • Load two images into your ComfyUI workflow, make sure they are the same size, resize or crop if necessary.
  • Connect the images to the PSBlendNode input.
  • Select a blend mode.
  • Blend away.