移除Image Blend Advance节点中的V3标记
- 将ImageBlendAdvanceV3_UTK重命名为ImageBlendAdvance_UTK - 更新节点显示名称为Image Blend Advance (UTK) - 更新所有相关的导入和注册逻辑 - 更新更新日志中的描述
This commit is contained in:
+9
-9
@@ -16,8 +16,8 @@ __url__ = "https://github.com/whmc76"
|
||||
# 更新日志
|
||||
CHANGELOG = {
|
||||
"1.3.7": [
|
||||
"新增Image Blend Advance V3节点和Crop By Mask功能增强:",
|
||||
"- 新增Image Blend Advance V3 (UTK)节点:高级图像混合与变换功能",
|
||||
"新增Image Blend Advance节点和Crop By Mask功能增强:",
|
||||
"- 新增Image Blend Advance (UTK)节点:高级图像混合与变换功能",
|
||||
"- 支持17种混合模式:normal、multiply、screen、overlay等专业混合效果",
|
||||
"- 完整变换功能:位置、缩放、宽高比、旋转、镜像翻转控制",
|
||||
"- 6种插值方法:lanczos、bicubic、bilinear等高质量缩放算法",
|
||||
@@ -604,12 +604,12 @@ except ImportError:
|
||||
|
||||
try:
|
||||
from .nodes.image.image_blend_advance_v3 import \
|
||||
NODE_CLASS_MAPPINGS as IMAGE_BLEND_V3_MAPPINGS
|
||||
NODE_CLASS_MAPPINGS as IMAGE_BLEND_MAPPINGS
|
||||
from .nodes.image.image_blend_advance_v3 import \
|
||||
NODE_DISPLAY_NAME_MAPPINGS as IMAGE_BLEND_V3_DISPLAY
|
||||
NODE_DISPLAY_NAME_MAPPINGS as IMAGE_BLEND_DISPLAY
|
||||
except ImportError:
|
||||
IMAGE_BLEND_V3_MAPPINGS = {}
|
||||
IMAGE_BLEND_V3_DISPLAY = {}
|
||||
IMAGE_BLEND_MAPPINGS = {}
|
||||
IMAGE_BLEND_DISPLAY = {}
|
||||
|
||||
try:
|
||||
from .nodes.tools.think_remover_node import \
|
||||
@@ -692,7 +692,7 @@ NODE_CLASS_MAPPINGS.update(RESTORE_CROP_MAPPINGS)
|
||||
NODE_CLASS_MAPPINGS.update(COLOR_MATCH_MAPPINGS)
|
||||
NODE_CLASS_MAPPINGS.update(BBOX_VISUALIZE_MAPPINGS)
|
||||
NODE_CLASS_MAPPINGS.update(IMAGE_CROP_RESIZE_MAPPINGS)
|
||||
NODE_CLASS_MAPPINGS.update(IMAGE_BLEND_V3_MAPPINGS)
|
||||
NODE_CLASS_MAPPINGS.update(IMAGE_BLEND_MAPPINGS)
|
||||
NODE_CLASS_MAPPINGS.update(FILL_MASKED_MAPPINGS)
|
||||
NODE_CLASS_MAPPINGS.update(MASK_MAPPINGS)
|
||||
NODE_CLASS_MAPPINGS.update(LOAD_AUDIO_MAPPINGS)
|
||||
@@ -729,7 +729,7 @@ NODE_DISPLAY_NAME_MAPPINGS.update(RESTORE_CROP_DISPLAY)
|
||||
NODE_DISPLAY_NAME_MAPPINGS.update(COLOR_MATCH_DISPLAY)
|
||||
NODE_DISPLAY_NAME_MAPPINGS.update(BBOX_VISUALIZE_DISPLAY)
|
||||
NODE_DISPLAY_NAME_MAPPINGS.update(IMAGE_CROP_RESIZE_DISPLAY)
|
||||
NODE_DISPLAY_NAME_MAPPINGS.update(IMAGE_BLEND_V3_DISPLAY)
|
||||
NODE_DISPLAY_NAME_MAPPINGS.update(IMAGE_BLEND_DISPLAY)
|
||||
NODE_DISPLAY_NAME_MAPPINGS.update(FILL_MASKED_DISPLAY_MAPPINGS)
|
||||
NODE_DISPLAY_NAME_MAPPINGS.update(LOAD_AUDIO_DISPLAY_MAPPINGS)
|
||||
NODE_DISPLAY_NAME_MAPPINGS.update(AUDIO_CROP_DISPLAY_MAPPINGS)
|
||||
@@ -772,7 +772,7 @@ NODE_CATEGORIES = {
|
||||
"ColorMatch_UTK",
|
||||
"BboxVisualize_UTK",
|
||||
"ImageCropByMaskAndResize_UTK",
|
||||
"ImageBlendAdvanceV3_UTK",
|
||||
"ImageBlendAdvance_UTK",
|
||||
"TextboxNode_UTK",
|
||||
"TextConcatenate_UTK",
|
||||
"MathExpression_UTK",
|
||||
|
||||
@@ -16,7 +16,7 @@ from PIL import Image, ImageOps
|
||||
from ..image_utils import tensor2pil, pil2tensor, image2mask
|
||||
|
||||
|
||||
class ImageBlendAdvanceV3_UTK:
|
||||
class ImageBlendAdvance_UTK:
|
||||
"""
|
||||
Advanced image blending node with transforms and multiple blend modes.
|
||||
|
||||
@@ -25,7 +25,7 @@ class ImageBlendAdvanceV3_UTK:
|
||||
"""
|
||||
|
||||
def __init__(self):
|
||||
self.NODE_NAME = 'ImageBlendAdvanceV3_UTK'
|
||||
self.NODE_NAME = 'ImageBlendAdvance_UTK'
|
||||
|
||||
@classmethod
|
||||
def INPUT_TYPES(cls):
|
||||
@@ -62,7 +62,7 @@ class ImageBlendAdvanceV3_UTK:
|
||||
|
||||
RETURN_TYPES = ("IMAGE", "MASK")
|
||||
RETURN_NAMES = ("image", "mask")
|
||||
FUNCTION = 'image_blend_advance_v3'
|
||||
FUNCTION = 'image_blend_advance'
|
||||
CATEGORY = 'UniversalToolkit/Image'
|
||||
|
||||
DESCRIPTION = """
|
||||
@@ -162,7 +162,7 @@ and artistic effects with precise control over blending.
|
||||
|
||||
return rotated_image, rotated_mask
|
||||
|
||||
def image_blend_advance_v3(self, layer_image, invert_mask, blend_mode, opacity,
|
||||
def image_blend_advance(self, layer_image, invert_mask, blend_mode, opacity,
|
||||
x_percent, y_percent, mirror, scale, aspect_ratio, rotate,
|
||||
transform_method, anti_aliasing, background_image=None, layer_mask=None):
|
||||
"""
|
||||
@@ -316,9 +316,9 @@ and artistic effects with precise control over blending.
|
||||
|
||||
# Node registration
|
||||
NODE_CLASS_MAPPINGS = {
|
||||
"ImageBlendAdvanceV3_UTK": ImageBlendAdvanceV3_UTK,
|
||||
"ImageBlendAdvance_UTK": ImageBlendAdvance_UTK,
|
||||
}
|
||||
|
||||
NODE_DISPLAY_NAME_MAPPINGS = {
|
||||
"ImageBlendAdvanceV3_UTK": "Image Blend Advance V3 (UTK)",
|
||||
"ImageBlendAdvance_UTK": "Image Blend Advance (UTK)",
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user