A custom ComfyUI node that pads an image to a multiple of 8 width.
This is a custom node for ComfyUI that pads images to multiples of eight dimensions.
git clone https://github.com/umiyuki/comfyui-pad-to-eight.git
cd ComfyUI/custom_nodes/ComfyUI-PadToEight
pip install -r requirements.txt
For portable ComfyUI versions:
python_embeded\python.exe -m pip install -r ComfyUI\custom_nodes\ComfyUI-PadToEight\requirements.txt
image
: Any RGB image tensorimage
: Processed image tensorwidth
: Final image width (multiple of 8)height
: Final image height (1024px){
"nodes": [
{
"type": "PadToEight",
"inputs": {
"image": "<your_image>"
}
}
]
}
Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.