Closed zero01101 closed 1 year ago
I'll leave this one to you, then!
i didn't forget about this i swear
https://github.com/zero01101/openOutpaint/commit/02bf04c25734ae4156b637eda0b1cd5cc6a3d568
it... kinda works? not great with img2img and very bad with sketch tool lmao
https://github.com/zero01101/openOutpaint/wiki/Manual#dream and scroll down a bit? janky but exists now
Is your feature request related to a problem? Please describe. it is absolutely not
Describe the solution you'd like so like when i was talking about difference globalcompositeoperation and failing at it in photoshop, i've since discovered what i meant was "background subtraction" and i still kinda think that'd be a nifty feature, like c'mon
no actually describe it dummy
oh uh so like if an in/outpaint dream or maybe even txt2img is requested with the "subtract background" option ticked, the following should occur:
the dream image has the magic done to it from the aforementioned article against that new canvas/layer from step 1ish, has the identical pixels from the currently visible layers removed, and is placed onto a new layer of its own
the more i think about this, the more it sounds like it'll ONLY be useful for img2img because, uh, most people probably don't want a giant chunk of the "background" automagically smooshed into their new detail layer...
Describe alternatives you've considered well i guess painstakingly erasing identical pixels would work if i wasn't impatient?
Additional context i will 100% try and almost certainly fail to implement something like this myself, but uh, ahem don't let that stop anyone else from showing me who's boss ;)
priority literally the lowest possible; like if there's an errant apostrophe in a readme 2 versions ago that's probably more important