"git@developer.sourcefind.cn:chenpangpang/ComfyUI.git" did not exist on "4ef4cf913f587600b8349e65c0a03f5afcbead0e"
Commit 8c9c94b5 authored by comfyanonymous's avatar comfyanonymous
Browse files

Add bicubic upscale method.

parent e6e50ab2
...@@ -756,7 +756,7 @@ class RepeatLatentBatch: ...@@ -756,7 +756,7 @@ class RepeatLatentBatch:
return (s,) return (s,)
class LatentUpscale: class LatentUpscale:
upscale_methods = ["nearest-exact", "bilinear", "area", "bislerp"] upscale_methods = ["nearest-exact", "bilinear", "area", "bicubic", "bislerp"]
crop_methods = ["disabled", "center"] crop_methods = ["disabled", "center"]
@classmethod @classmethod
...@@ -776,7 +776,7 @@ class LatentUpscale: ...@@ -776,7 +776,7 @@ class LatentUpscale:
return (s,) return (s,)
class LatentUpscaleBy: class LatentUpscaleBy:
upscale_methods = ["nearest-exact", "bilinear", "area", "bislerp"] upscale_methods = ["nearest-exact", "bilinear", "area", "bicubic", "bislerp"]
@classmethod @classmethod
def INPUT_TYPES(s): def INPUT_TYPES(s):
...@@ -1172,7 +1172,7 @@ class LoadImageMask: ...@@ -1172,7 +1172,7 @@ class LoadImageMask:
return True return True
class ImageScale: class ImageScale:
upscale_methods = ["nearest-exact", "bilinear", "area"] upscale_methods = ["nearest-exact", "bilinear", "area", "bicubic"]
crop_methods = ["disabled", "center"] crop_methods = ["disabled", "center"]
@classmethod @classmethod
...@@ -1193,7 +1193,7 @@ class ImageScale: ...@@ -1193,7 +1193,7 @@ class ImageScale:
return (s,) return (s,)
class ImageScaleBy: class ImageScaleBy:
upscale_methods = ["nearest-exact", "bilinear", "area"] upscale_methods = ["nearest-exact", "bilinear", "area", "bicubic"]
@classmethod @classmethod
def INPUT_TYPES(s): def INPUT_TYPES(s):
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment