ComfyUI Node: Image Resize By Megapixels (Swwan)
Run ComfyUI workflows without the setup
No installs, no CUDA version roulette, no GPU sitting idle on your bill. Bring a workflow and run it in the browser.
Category
Swwan/image
Inputs
image IMAGE
megapixels FLOAT
aspect_ratio
- default
- 1:1
- 3:2
- 2:3
- 4:3
- 3:4
- 16:9
- 9:16
- 21:9
- 9:21
keep_proportion
- crop
- resize
- pad
- pad_edge
- pad_edge_pixel
- pillarbox_blur
divisible_by
- 2
- 4
- 8
- 16
- 32
- 64
default_divisible BOOLEAN
upscale_method
- nearest-exact
- bilinear
- area
- bicubic
- lanczos
crop_position
- center
- top
- bottom
- left
- right
pad_color STRING
mask MASK
device
- cpu
- gpu
Outputs
IMAGE
INT
INT
MASK
INT
Extension: ComfyUI_Swwan
Collection of image processing utility nodes for ComfyUI including intelligent cropping, aspect ratio scaling, and crop box restoration capabilities. (Description by CC)
Authored by aining2022
Looking for a different node?
More nodes in ComfyUI_Swwan
Other Swwan/image nodes
- Get Images From Batch Indexed (Swwan)
- Get Image Size & Count (Swwan)
- Get Latent Size & Count (Swwan)
- Image Add Multi (Swwan)
- Image Batch Extend With Overlap (Swwan)
- Image Batch Filter (Swwan)
- Image Batch Join With Transition (Swwan)
- Image Batch Multi (Swwan)
- Image Batch Repeat Interleaving (Swwan)
- Image Blend (Swwan)
- Image Concatenate (Swwan)
- Image Concat From Batch (Swwan)
Run ComfyUI workflows without the setup
No installs, no CUDA version roulette, no GPU sitting idle on your bill. Bring a workflow and run it in the browser.