cubiq / ComfyUI_IPAdapter_plus

GNU General Public License v3.0
3.92k stars 294 forks source link

When using a square image as a reference, the ipadapter tiled apply causes the resulting image to blur #467

Closed emptybamboo closed 5 months ago

emptybamboo commented 5 months ago

If the square image is used as the positive image of the ipadapter tiled, the resulting image will be blurred. At present, I can only avoid this problem by judging the plug-in area logically. Once the side length of the reference image is consistent, the ipadapter apply will be used, otherwise the ipadapter tiled apply will be used.Can this problem be circumvented directly at the plug-in code level 360截图20240413175202901 QQ截图20240413175209

cubiq commented 5 months ago

for square images you should use two IPAdapters, one for the tiles and one for the overall composition. To do what you say we would need an additional option "do not tile square images". It's doable but I have other priorities at the moment

emptybamboo commented 5 months ago

In fact, I don't really understand how the two IPadapters are used together, it would be great if you could give an example, but it doesn't matter if you don't have one, or thank you very much for your effort