Skip to content

Inpaint at full resolution padding, pixels #4637

Closed Answered by TKoestlerx
AndreyRGW asked this question in Q&A
Discussion options

You must be logged in to vote

From my understanding:

When the function(inpaint at full resolution) is selected, the following happens:

-The smallest rectangular area that includes all pixels of the mask is determined.
-This rectangular area is expanded in each direction by "+padding" pixels.
-At the end it is looked how high it can be scaled to accommodate this rectangle in the values set under "width/height".

So if you draw a Mask over an Area of 50x64 in an 512x512 Image....

It will be exactly this area after the first step. (50x64)
Then the padding will be added and the region becomes 114x128. (assuming 32pixel padding)
114x128 can fit into the given 512x512 size exactly 4 times.

So the 114x128 region around your 5…

Replies: 1 comment 4 replies

Comment options

You must be logged in to vote
4 replies
@WillyamBradberry
Comment options

@testFaze
Comment options

@WillyamBradberry
Comment options

@mr-september
Comment options

Answer selected by AndreyRGW
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
5 participants