adv crop
adv_crop
Advanced Crop Node-20241009 1. Expand and crop (cropping when negative numbers are input) the image or mask up, down, left, and right (can be processed separately or simultaneously). 2. Synchronously crop the input mask (can be inconsistent with the image resolution). 3. Adjustable fill color (black/white, white by default), or fill the original image with reflect, circular, or replicate for edge extension. 4. Output the background mask after the image is expanded (if the background mask of the output mask is required, no image can be input). 5. If you want to customize the background color or texture, please use the background mask to blend by yourself. 6. Method for moving an image: Simultaneously expand and crop in one direction (input negative number + positive number). 7. Note that cropping should not exceed the boundary (especially when the resolution of the mask is different from that of the image), otherwise an error will be reported. 高级裁剪节点-20241009 1:上下左右扩展&裁剪(输入负数时为裁剪)图像或遮罩(可单独或同时处理) 2:同步裁剪输入遮罩(与图像分辨率可以不一致) 3:可调整填充色(黑/白,默认白色),或填充原图reflect,circular,或边缘扩展replicate 4:输出图像扩展后的背景遮罩(若需输出遮罩的背景遮罩,则不能输入图像) 5:自定义背景/纹理:请使用背景遮罩自行混合 6:移动图片的方法:在一个方向上同时扩展和裁剪(输入负数+正数) 7:注意裁剪不要超过边界(特别是遮罩与图像的分辨率不一样时),否则会报错
Pack: ComfyUI-WJNodes
custom_nodes.ComfyUI-WJNodes