zero01101 / openOutpaint

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

Custom Size image gives broken results #170

Closed Maki9009 closed 1 year ago

Maki9009 commented 1 year ago

If i do the drag size images... that are for a specific region, the size isn't set to a perfect 512x512 square, even if I have the res fixed at 512. it gives me a very wrong messed up image that doesn't mix well.

either that needs to be fixed or could you make it possible to scroll the size of the square to any size I want, yet still keeping the render resolution to 512.

because sometimes the square shrinks too small at 128 or 256 could be too big... more fine control on that would be nice.

Maki9009 commented 1 year ago

i know you can fine control it through text, like I can set it to 200 rather than 256. but having a toggle to have it fixed rates or unlimited size by just scrolling would be nice

zero01101 commented 1 year ago

sorry, i'm really not following what you're trying to do; the reticles don't "lie" about their requested resolution natively since that would just result in a stretched or squashed image; it'd be basically like generating a 512x512 square reticle image, then using the select tool with snap to grid disabled and just... stretching it

decoupling the render and reticle resolution doesn't constrain to an aspect ratio; i think it sounds like what you want is the "lie to hrfix" option enabled (it is by default) and using the hrfix square firstpass aspect option

moving to standalone repo as this isn't extension-related, and changing bug to enhancement and potential already-exists as image generation isn't supposed to return resolutions the reticle didn't define