mirror of
https://git.datalinker.icu/kijai/ComfyUI-KJNodes.git
synced 2026-06-02 18:33:30 +08:00
step image/mask resize with 1
This commit is contained in:
parent
393ec896f7
commit
e19285e5d1
@ -2141,8 +2141,8 @@ class ImageResizeKJ:
|
|||||||
return {
|
return {
|
||||||
"required": {
|
"required": {
|
||||||
"image": ("IMAGE",),
|
"image": ("IMAGE",),
|
||||||
"width": ("INT", { "default": 512, "min": 0, "max": MAX_RESOLUTION, "step": 8, }),
|
"width": ("INT", { "default": 512, "min": 0, "max": MAX_RESOLUTION, "step": 1, }),
|
||||||
"height": ("INT", { "default": 512, "min": 0, "max": MAX_RESOLUTION, "step": 8, }),
|
"height": ("INT", { "default": 512, "min": 0, "max": MAX_RESOLUTION, "step": 1, }),
|
||||||
"upscale_method": (s.upscale_methods,),
|
"upscale_method": (s.upscale_methods,),
|
||||||
"keep_proportion": ("BOOLEAN", { "default": False }),
|
"keep_proportion": ("BOOLEAN", { "default": False }),
|
||||||
"divisible_by": ("INT", { "default": 2, "min": 0, "max": 512, "step": 1, }),
|
"divisible_by": ("INT", { "default": 2, "min": 0, "max": 512, "step": 1, }),
|
||||||
|
|||||||
@ -1186,8 +1186,8 @@ class ResizeMask:
|
|||||||
return {
|
return {
|
||||||
"required": {
|
"required": {
|
||||||
"mask": ("MASK",),
|
"mask": ("MASK",),
|
||||||
"width": ("INT", { "default": 512, "min": 0, "max": MAX_RESOLUTION, "step": 8, "display": "number" }),
|
"width": ("INT", { "default": 512, "min": 0, "max": MAX_RESOLUTION, "step": 1, "display": "number" }),
|
||||||
"height": ("INT", { "default": 512, "min": 0, "max": MAX_RESOLUTION, "step": 8, "display": "number" }),
|
"height": ("INT", { "default": 512, "min": 0, "max": MAX_RESOLUTION, "step": 1, "display": "number" }),
|
||||||
"keep_proportions": ("BOOLEAN", { "default": False }),
|
"keep_proportions": ("BOOLEAN", { "default": False }),
|
||||||
"upscale_method": (s.upscale_methods,),
|
"upscale_method": (s.upscale_methods,),
|
||||||
"crop": (["disabled","center"],),
|
"crop": (["disabled","center"],),
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user