1
0
Fork 0

fix(api): use correct tile size for highres upscaling

This commit is contained in:
Sean Sube 2023-06-16 21:22:00 -05:00
parent 5713957026
commit 12e489b761
Signed by: ssube
GPG Key ID: 3EED7B957D362AF1
1 changed files with 1 additions and 1 deletions

View File

@ -147,7 +147,7 @@ def run_highres(
) )
def highres_tile(tile: Image.Image, dims): def highres_tile(tile: Image.Image, dims):
scaled_size = (size.width * highres.scale, size.height * highres.scale) scaled_size = (tile.width * highres.scale, tile.height * highres.scale)
if highres.method == "bilinear": if highres.method == "bilinear":
logger.debug("using bilinear interpolation for highres") logger.debug("using bilinear interpolation for highres")