huchenlei / stable-diffusion-ps-pea

Use Stable Diffusion in Photopea!
GNU General Public License v3.0
74 stars 3 forks source link

[Bug] When pasting result image back. There is visible border. #1

Closed huchenlei closed 1 year ago

huchenlei commented 1 year ago

00005-3154518538 (1)

There is very visible misalignment on the result image boundary against the original image. I have tried to crop the result image down to the inpaint bounding box (Currently the bounding box is the reference range box), but seems to be blocked on https://github.com/photopea/photopea/issues/5902.

Need further digging to verify the root cause. For now, the best solution seems to be after all editings are done, do a low denosing strength tile img2img generation to smooth out all boundaries.

huchenlei commented 1 year ago

Fixed in #10