sd-webui-controlnet
sd-webui-controlnet copied to clipboard
fix: calculate size to fit output image
It is incorrect to scale to fit image. I add more calculations to fix it
Input Image | Output Size | Output: AS-IS | Output: TO-BE |
---|---|---|---|
192x264 ![]() |
192x264 | ![]() |
![]() |
192x264 ![]() |
264x192 | ![]() |
![]() |