ComfyUI-Yuan
Some simple&practical ComfyUI image processing nodes.
Nodes (12)
A no-frills grayscale converter that knows its luma weights
An A/B image switch that measures pixel difference instead of 'quality'
Cut a subject out with the mask you already have
Fit any image into a box without mangling the aspect ratio
A color-difference switch that picks your render for you
A random image from a folder, whenever you need one
Your Inpaint Mask Is Ragged. This Node Grows, Shrinks, and Cleans It.
Make a selection a uniform-strength mask, not a grayscale image
A float constant you can actually see and wire
Photoshop blend modes in ComfyUI, with a detail-transfer trick built in
A debug node that shows any value and stamps it into your saved workflow
A print() for your graph — see what's actually flowing through
Some practical ComfyUI image/mask process nodes make you earn some real money! (Yuan means chinese currency).
UPDATE
v1.0.1 add a mask preprocess node by morpholog:Mask Preprocess Morphology, Fixed the issue with the processing of masks in this project (https://github.com/BadCafeCode/masquerade-nodes-comfyui), which would have caused the mask to be output in image format and not be used directly in subsequent generation processes
v1.0.0 add a node which allows load random image(s) form Local directory.
NODES INSTRUCTION
black and white: a Gray level map generator, generating greyscale image.
photoshop transfer: Transfer like photoshot, such as 'hard light, multiply' and so on...You can use this node to preserve artwork details such as text.
Image Minus Mask: using original image and mask generates the segmented image. You can choose the color type of the fill area. As example shows:
you can download the default workflow from 'examples' or from this url: https://github.com/Cyber-Blacat/ComfyUI-MoneyMaker/example_workflows/
by Cyber_BlackCat