zero01101 / openOutpaint

local offline javascript and html canvas outpainting gizmo for stable diffusion webUI API 🐠
MIT License
500 stars 43 forks source link

[Bug]: Imageis degraded after each generation #229

Closed ZZZephyriusss closed 10 months ago

ZZZephyriusss commented 1 year ago

What happened?

After each inpaint or outpaint, the overall quality is degraded, like a blur filter is applyed each time. It is applied in all the selected square even if only partial inpaint is asked. It happens withinpainting and out painting too. ps : my version is update, i have put all the blur option to zero.

openoutpaintbugreport

Steps to reproduce the problem

  1. Go to ....
  2. Press ....
  3. ... [etc]

What should have happened?

In outpaint mode, the quality of the image stay the same, only the outside border is affected. In inpaint mode, only the red area is affected.

Commit where the problem happens

the last one, and this happen for the last commuts too

What platforms do you use to access openOutpaint?

Windows

What browsers do you use to access the UI ?

Mozilla Firefox

Browser Extensions/Addons

addons : adblock, always on top,

i tested it with chrome and it happen too.

some times when a put on "synch cursor size", and then i uncheck it, it stoped to do it....and after some generations, it turns back to it randomly.

AUTOMATIC1111 webUI Commandline Arguments

--api --xformers

Additional information

it seems like it is layer ralated because everytime it happen, and i try to put the master layer on top again then a flat the image, everything is mess up, and if i save it, only the last generation is saved and not the flatten layer. The only way to save it correctly is by making a selection and save "visible"...but even that some times fails, because it is saved but the layers are not in the same order as it is expected.

Anyway, i really want to thank you and your teram : i looooove your app, it is incredible, by far the best, even if it is less fancy than Invoke, it is much more conveniant and powerful. thanks

zero01101 commented 1 year ago

so i think exactly what you're looking for is going to be taken care of via the "keep unmasked" toggle (pushpin icon) :)

image

ZZZephyriusss commented 1 year ago

hey !! i i have made more test and now it is sure: even when "keep unmak blur" is off,it still add blur to the image outside the red zone !!!! It is subtil, but for each "dream", it add blur and at the end there is degradation of the quality of the original image !!

so it is not the navigator, even if with EDGE, i have less bugs.

Pleas explain to me if i don't understood something. thanks for your time

ZZZephyriusss commented 1 year ago

@zero01101 here the screenshot, i have try everything, keep unmak on or off, put at the value zero or at the max, every generation the image outside is beeing blurred :

openoutpaintbluuryprblm

ZZZephyriusss commented 1 year ago

really sorry to annoy you, but i thing it really is a probleme . thanks for your attention anyway . really love your App

zero01101 commented 1 year ago

sorry for the delay; out of curiosity, did you try that with the keep unmask option enabled? your image implies that you left it disabled which, yeah, that'd do nothing lol... the blur radius sets the amount of gaussian blur around the inpaint mask to blend the original vs returned inpaint but will only do anything if the option is enabled ;)

see https://github.com/zero01101/openOutpaint/issues/99 for further detail/info - it seems to be exactly what you're experiencing, and is precisely why the keep unmasked option was implemented :)

zero01101 commented 10 months ago

closing as stale for now