ComfyUI-1hewNodes

This is a custom node collection for ComfyUI that provides a series of practical image processing, mask operations, and utility nodes.

📦 Installation

Clone the repository into ComfyUI's custom_nodes directory:

git clone https://github.com/1hew/ComfyUI-1hewNodes

📜 Changelog

v1.2.9

  • feat(image_crop): Refactored Image Crop with BBox Mask node

v1.2.8

  • feat(image): Added Image Resize Flux Kontext node with support for automatic and manual size selection for images and masks
  • feat(image): Enhanced Image Edit Stitch node with improved stitching algorithms and parameter handling

v1.2.7

  • feat(text): Added List Custom Seed node for creating unique random seed lists with control after generate functionality

v1.2.6

  • feat(image_hlfreq): Added high-low frequency separation node group, including Image HLFreq Separate, Image HLFreq Combine, and Image HLFreq Transform nodes with support for RGB, HSV, and IGBI frequency separation methods

v1.2.5

  • feat(mask): Added the Mask Fill Hole node, which fills holes in enclosed areas of masks with support for batch processing.

v1.2.3

  • fix(image_blend): Fixed the issue of inconsistency between devices for the Image Blend Modes by Alpha node.

v1.2.2

  • feat(image): Added the Image BBox Overlay by Mask node, which overlays the image bounding box based on a mask.

v1.2.1

  • refactor(image/crop): Renamed node classes and updated related documentation
  • feat(image_crop): Enhanced the functionality and output options of the ImageCropByMaskAlpha node

v1.2.0

  • feat: Added conversion, and restructured image mixing and masking processing
v1.1.6
  • feat(ImageEditStitch): Add a “spacing” parameter to control the distance between stitched images

​

v1.1.5
  • feat: Added text processing and logic nodes, optimized existing node functions
  • refactor(util): Refactored utility nodes, renamed nodes RangeMapping and PathBuild
  • feat(logic): Added ImageListAppend node for image list merging
  • feat(text): Added TextCustomList and TextCustomExtract text processing nodes
  • style: Cleaned up node parameter labels to maintain simplicity and consistency

​

v1.1.2
  • feat(image_tile): Improved the Image Tile Merge algorithm, using weight masks and cosine gradients to achieve perfect seamless stitching

​

v1.1.1
  • feat (image_crop): Added intelligent batch processing for Image BBox Paste

​

v1.1.0
  • build: Add new tile nodes
  • feat: Update node functionality
  • docs: Add bilingual documentation, improve node descriptions

​

v1.0.5
  • Add Path Select

​

v1.0.4
  • Fix Image Cropped Paste error, add batch processing feature.

​

📋 Node List

🖼️ Image Processing Nodes

Node Name Description
Image Solid Generate solid color images with multiple size and color format support
Image Resize Universal Universal image resizing with multiple algorithms and constraints
Image Resize Flux Kontext Resize images to FluxKontext dimensions with support for automatic and manual size selection for images and masks
Image Edit Stitch Image stitching and merging with multiple stitching modes
Image Add Label Add text labels to images
Image Plot Image plotting and visualization tools
Image BBox Overlay by Mask Mask-based image bounding box overlay with independent and merge modes

🎨 Image Blending Nodes

Node Name Description
Image Luma Matte Luminance-based image mask compositing
Image Blend Modes by Alpha Alpha-based image blending with multiple Photoshop-style blend modes
Image Blend Modes by CSS CSS standard blend modes based on Pilgram library

✂️ Image Cropping Nodes

Node Name Description
Image Crop Square Square cropping with mask guidance and scaling support
Image Crop Edge Edge cropping with independent settings for four sides
Image Crop with BBox Mask Smart bounding box cropping with precise aspect ratio control and scale strength adjustment
Image Crop by Mask Alpha Batch mask-based cropping with RGB/RGBA dual output modes and smart channel processing
Image Paste by BBox Mask Paste cropped images back with multiple blend modes

🧩 Image Tiling Nodes

Node Name Description
Image Tile Split Image tile splitting with overlap and custom grid support
Image Tile Merge Image tile merging with intelligent stitching

🌊 High-Low Frequency Separation Nodes

Node Name Description
Image HLFreq Separate Advanced frequency separation node supporting RGB, HSV, and IGBI separation methods with precise high-low frequency image separation and automatic recombination
Image HLFreq Combine Advanced frequency recombination node supporting RGB, HSV, and IGBI recombination modes with intensity adjustment and intelligent batch matching
Image HLFreq Transform Advanced detail transfer node supporting IGBI, RGB, and HSV transfer methods for precise texture detail migration from detail images to generated images

🎭 Mask Operation Nodes

Node Name Description
Mask Fill Hole Fill holes in enclosed areas of masks with batch processing support
Mask Math Ops Mask mathematical operations (intersection, union, difference, XOR)
Mask Batch Math Ops Batch mask mathematical operations
Mask Crop by BBox Mask Mask bounding box cropping based on mask regions

🔧 Utility Nodes

Node Name Description
Range Mapping Value range mapping tool supporting linear transformation and precision control for slider values
Path Build Path builder supporting preset paths and custom extensions

🔄 Conversion Nodes

Node Name Description
Image Batch to List Convert batch images to image lists for individual processing
Image List to Batch Convert image lists to batch images with automatic size normalization
Mask Batch to List Convert batch masks to mask lists for individual processing
Mask List to Batch Convert mask lists to batch masks with automatic size normalization
String Coordinate to BBoxes Convert string format coordinates to BBOXES format with multiple input format support
String Coordinate to BBox Mask Convert string format coordinates to BBoxMask format with image dimension support and flexible output modes

🧠 Logic Nodes

Node Name Description
Image List Append Image list appender for intelligently merging images into lists

📝 Text Processing Nodes

Node Name Description
Text Custom Extract Text custom extractor for extracting specified key values from JSON
List Custom Int Custom integer list generator with dash separator and multiple delimiter support
List Custom Float Custom float list generator with dash separator and multiple delimiter support
List Custom String Custom string list generator with dash separator and multiple delimiter support
List Custom Seed Custom seed list generator for creating unique random seed lists with control after generate functionality

🙆 Acknowledgments

ComfyUI

ComfyUI-KJNodes

ComfUI-Easy-Use

ComfyUI_LayerStyle

Comfyui_TTP_Toolset

comfyUI_FrequencySeparation_RGB-HSV

🌟 Star

My gratitude extends to the generous souls who bestow a star.

Stargazers

S
Description
No description provided
Readme Apache-2.0
5.1 MiB
Languages
Python 84.1%
JavaScript 15.9%