mirror of
https://github.com/comfyanonymous/ComfyUI.git
synced 2025-08-02 23:14:49 +08:00
Add bicubic upscale method.
This commit is contained in:
8
nodes.py
8
nodes.py
@@ -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:
|
|||||||
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:
|
|||||||
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:
|
|||||||
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):
|
||||||
|
Reference in New Issue
Block a user