1
mirror of https://github.com/comfyanonymous/ComfyUI.git synced 2025-08-02 23:14:49 +08:00

Added support for lanczos scaling

This commit is contained in:
MoonRide303
2023-09-19 10:40:38 +02:00
parent 6d3dee9d16
commit 2b6b178173
3 changed files with 14 additions and 3 deletions

View File

@@ -1423,7 +1423,7 @@ class LoadImageMask:
return True
class ImageScale:
upscale_methods = ["nearest-exact", "bilinear", "area", "bicubic"]
upscale_methods = ["nearest-exact", "bilinear", "area", "bicubic", "lanczos"]
crop_methods = ["disabled", "center"]
@classmethod
@@ -1444,7 +1444,7 @@ class ImageScale:
return (s,)
class ImageScaleBy:
upscale_methods = ["nearest-exact", "bilinear", "area", "bicubic"]
upscale_methods = ["nearest-exact", "bilinear", "area", "bicubic", "lanczos"]
@classmethod
def INPUT_TYPES(s):