sd-webui-controlnet icon indicating copy to clipboard operation
sd-webui-controlnet copied to clipboard

fix: calculate size to fit output image

Open ZhUyU1997 opened this issue 2 years ago • 0 comments

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 download 192x264 00127-1486389336 00131-1486389336
192x264 download 264x192 00119-1486389336 00121-1486389336

ZhUyU1997 avatar Feb 24 '23 21:02 ZhUyU1997