comfyui-niutonian-smart-image
A comprehensive ComfyUI custom node suite for intelligent image stitching, processing, and manipulation with automatic handling of empty/bypassed inputs.
Nodes (7)
One node that stitches, grids, borders, and splits — with a log string to prove it
Give a generation a real frame — polaroid, film strip, the lot
Collages with actual layouts, not just a pile of rectangles
Nine images into one tidy grid, without fighting cell sizes
Cut one image into up to nine tiles (with overlap for seamless stitching)
The stitcher that doesn't care which inputs are empty
Panorama stitching that actually looks for features — not just overlap
Niutonian Smart Image Suite
A comprehensive ComfyUI custom node suite for intelligent image stitching, processing, and manipulation with automatic handling of empty/bypassed inputs.
Nodes Included
1. Smart Image Stitch
Linear image stitching with intelligent input handling.
- Features: 4-direction stitching, aspect ratio preservation, smart resizing
- Inputs: Up to 6 images
- Use Case: Creating panoramas, contact sheets, before/after comparisons
2. Smart Grid Stitch
Automatic grid arrangement with flexible sizing.
- Features: Auto/manual grid sizing, uniform cell sizing, gap control
- Inputs: Up to 9 images
- Use Case: Photo grids, comparison matrices, thumbnail sheets
3. Smart Panorama Stitch
Advanced panoramic stitching with feature detection.
- Features: Auto overlap detection, feature matching, seamless blending
- Inputs: Up to 6 images
- Use Case: Landscape panoramas, 360° views, wide-angle compositions
4. Smart Collage Maker
Artistic collage creation with varied layouts.
- Features: Multiple layout styles, size variation, rotation, overlapping
- Inputs: Up to 9 images
- Use Case: Artistic compositions, mood boards, creative layouts
5. Smart Image Splitter
Intelligent image splitting into multiple parts.
- Features: Grid splitting, overlap control, multiple output formats
- Inputs: Single image
- Use Case: Tiling for printing, creating puzzle pieces, detail extraction
6. Smart Border & Frame
Professional framing with multiple styles.
- Features: 7 frame styles, shadows, rounded corners, custom colors
- Inputs: Single image
- Use Case: Photo finishing, presentation, artistic effects
7. Smart Batch Processor
Batch operations with template saving.
- Features: Multiple operations, template system, progress logging
- Inputs: Up to 9 images
- Use Case: Workflow automation, consistent processing, batch jobs
Common Features
- Smart Input Handling: Automatically ignores empty or bypassed image inputs
- Aspect Ratio Preservation: Multiple handling modes (pad, crop, stretch)
- High-Quality Resizing: Lanczos, bilinear, bicubic, nearest neighbor options
- Flexible Alignment: Start, center, end positioning
- Background Control: Transparent, white, black, custom colors
- Professional Quality: Optimized for print and digital use
Installation
Copy this folder to your ComfyUI custom_nodes directory and restart ComfyUI.
ComfyUI/custom_nodes/comfyui_niutonian_smart_image/
All nodes will appear under the "Niutonian/Image Processing" category.
Quick Start Examples
Basic Linear Stitching
- Add "Smart Image Stitch" node
- Connect 2-6 images
- Set direction (right/left/top/bottom)
- Choose resize mode and aspect handling
- Result: Seamlessly stitched image
Photo Grid Creation
- Add "Smart Grid Stitch" node
- Connect multiple images
- Select grid size (2x2, 3x3, etc.)
- Set cell sizing mode
- Result: Professional photo grid
Panorama Creation
- Add "Smart Panorama Stitch" node
- Connect overlapping images in sequence
- Choose auto or manual overlap detection
- Set feature detector and confidence
- Result: Seamless panoramic image
Artistic Collage
- Add "Smart Collage Maker" node
- Connect images for collage
- Choose layout style (magazine, scattered, spiral)
- Enable rotation and size variation
- Result: Creative artistic composition
Advanced Usage
Template System (Batch Processor)
Save frequently used settings as templates for consistent processing across projects.
Chaining Nodes
Combine multiple nodes for complex workflows:
- Split → Process → Grid → Frame
- Stitch → Collage → Border
- Panorama → Split → Batch Process
Quality Settings
- Use Lanczos resizing for best quality
- Choose "pad" aspect handling to preserve content
- Enable shadows and borders for professional finish