SwarmUI icon indicating copy to clipboard operation
SwarmUI copied to clipboard

Mask Shrink Grow + Refine is not respecting the mask boundaries.

Open DiggyDre opened this issue 4 months ago • 0 comments

Expected Behavior

In the previous version of SwarmUI, I was able to edit an image, either by directly inpainting over it or dragging in a custom mask from Photoshop, and I was able to turn on Mask Shrink Grow as well as the refiner with the upscale set to 1. The results were beautiful details, especially if my initially generated image had already had an upscale of 2 before starting to edit the image.

Actual Behavior

For some reason, on the current verison, the mask boundaries aren't fully being respected between images. Yes, the major changes are in the area that is masked, but it still makes unnecessary tweaks in other areas, and that is before trying to turn the refiner on. Now, when the refiner is on and the upscale is set to 1, SwarmUI refuses to composite the newly edited area back into the original image :(

Steps to Reproduce

  • Generate an image with refiner on and upscale set to 2
  • Edit the image (inpaint an area)
  • Before generating, turn the upscale to 1 and turn on Mask Shrink Grow
  • The resulting image isn't being composited back into the original (the previous version did with amazing details)

Debug Logs

Nothing about it is in the logs. I honestly think that Swarm doesn't even know that it is doing this.

Other

No response

DiggyDre avatar Jul 15 '25 17:07 DiggyDre