ManglerFTW / ComfyI2I

ComfyI2I is a set of custom nodes for ComfyUI that help with image 2 image functions.
Other
158 stars 16 forks source link

Padding near the edge of the image #23

Open mr-asa opened 9 months ago

mr-asa commented 9 months ago

Hi. Very cool nodes, the functionality is very useful. There is a small problem that I have not found yet how to solve. If I set padding small (1), when the region does not fall on the edge of the image - everything works correctly. But when I increase the value of padding, when the mask should (theoretically) go beyond the edge of the image, the picture is not quite right. The image proportions (2) remain correct, but the image proportions inside the region are deformed (3). I haven't figured it out yet, is there any way to fix it? Or should I try not to touch the padding? For inpeint, in some cases a larger padding would be useful. 2024-02-02_22-43 2024-02-02_22-44