MCPcopy Create free account

hub / github.com/7BEII/Comfyui_PDuse / functions

Functions398 in github.com/7BEII/Comfyui_PDuse

MethodINPUT_TYPES
(cls)
py/PD_tensortraining.py:13
MethodINPUT_TYPES
@returns {dict} 节点输入参数类型
py/logic.py:7
MethodINPUT_TYPES
@returns {dict} 节点输入参数类型
py/logic.py:36
MethodINPUT_TYPES
@returns {dict} 节点输入参数类型
py/image_concatenate_v1.py:13
MethodINPUT_TYPES
(cls)
py/imagesize_by_ratio.py:13
MethodINPUT_TYPES
(cls)
py/save text path and name.py:10
MethodINPUT_TYPES
(cls)
py/PD_selector_sum_T3.py:3
MethodINPUT_TYPES
(cls)
py/image_dual_batch_by_list.py:7
MethodINPUT_TYPES
(cls)
py/PDtools_Filter_GodenPNG_v1.py:43
MethodINPUT_TYPES
* 定义节点的输入参数类型 * @return {dict} 包含required和optional参数的字典
py/imageblend_v1.py:107
MethodINPUT_TYPES
* 定义节点的输入参数类型 * @return {dict} 包含required参数的字典
py/image_ratio_V1.py:16
MethodINPUT_TYPES
(cls)
py/PDtools_Filter_WPNG_v2.py:25
MethodINPUT_TYPES
(cls)
py/Maskfenkai.py:8
MethodINPUT_TYPES
(cls)
py/mask_edge_selector.py:7
MethodINPUT_TYPES
(cls)
py/crop_border.py:12
MethodINPUT_TYPES
(cls)
py/crop_border.py:253
MethodINPUT_TYPES
(cls)
py/image_rotate_v1.py:61
MethodINPUT_TYPES
(s)
py/zip_page.py:21
MethodINPUT_TYPES
(cls)
py/training_aitookit.py:14
MethodINPUT_TYPES
* 定义节点的输入参数类型 * @return {dict} 包含required参数的字典
py/Image Blend Text .py:19
MethodINPUT_TYPES
(cls)
py/LoadImagesFromDir.py:8
MethodINPUT_TYPES
(s)
py/text_JoinStringMultiLine.py:17
MethodINPUT_TYPES
(s)
py/text_JoinStringMultiLine.py:57
MethodINPUT_TYPES
(cls)
py/text_list_unpack.py:8
MethodINPUT_TYPES
(cls)
py/caption_json_editor.py:13
MethodINPUT_TYPES
(cls)
py/caption_json_editor.py:191
MethodINPUT_TYPES
(cls)
py/remove_white_border.py:15
MethodINPUT_TYPES
@returns {dict} 节点输入参数类型
py/image_crop_v1.py:10
MethodINPUT_TYPES
(s)
py/crop_Image Grid.py:8
MethodINPUT_TYPES
@returns {dict} 节点输入参数类型
py/image_crop_v2_alt.py:10
MethodINPUT_TYPES
(cls)
py/json_text to json_editor.py:13
MethodINPUT_TYPES
(cls)
py/json_text to json_editor.py:191
MethodINPUT_TYPES
(cls)
py/Mask_selector_by_area_left.py:7
MethodINPUT_TYPES
(cls)
py/name_number.py:13
MethodIS_CHANGED
(cls, **kwargs)
py/Load_Images.py:63
MethodIS_CHANGED
(cls, **kwargs)
py/Load_Images_adv.py:56
MethodIS_CHANGED
(cls, refresh_each_run=False, **kwargs)
py/save_path.py:42
MethodIS_CHANGED
(cls, refresh_each_run=False, **kwargs)
py/PD_SAVE_PATH.py:52
MethodIS_CHANGED
(cls, **kwargs)
py/load_image_V1.py:56
Method__init__
(self)
gittools.py:35
Method__init__
(self)
py/pd_image.py:141
Method__init__
(self)
py/Tool_sImage Compress.py:9
Method__init__
(self)
py/rename_V2.py:6
Method__init__
(self)
py/loraloader.py:13
Method__init__
(self)
py/add_Background.py:19
Method__init__
(self)
py/Load_Images.py:13
Method__init__
初始化GUI界面
py/rename_batch_v1.py:16
Method__init__
(self)
py/PD_ZIP_Archive.py:17
Method__init__
(self)
py/image_resize_by_ratio.py:10
Method__init__
(self)
py/Load_Images_adv.py:13
Method__init__
(self)
py/image_to_text_v1.py:11
Method__init__
(self)
py/Image_Extract.py:10
Method__init__
(self)
py/save_path.py:23
Method__init__
(self)
py/image_crop_v2.py:7
Method__init__
初始化保存参数
py/PD_image_coversaver.py:22
Method__init__
初始化保存参数
py/PD_SAVE_PATH2.py:24
Method__init__
初始化保存参数
py/PD_SAVE_PATH.py:23
Method__init__
(self)
py/load_image_V1.py:13
Method__init__
(self)
py/imageblend_v1.py:103
Method__init__
(self)
py/image_ratio_V1.py:12
Method__init__
(self)
py/image_rotate_v1.py:57
Method__init__
(self)
py/zip_page.py:17
Method__init__
(self)
py/Image Blend Text .py:15
Method__init__
(self)
py/text_JoinStringMultiLine.py:13
Method__init__
(self)
py/text_JoinStringMultiLine.py:53
Method__init__
(self)
py/crop_Image Grid.py:4
Method__ne__
(self, __value: object)
py/if_boon.py:2
Method__ne__
(self, __value: object)
py/PD_ZIP_Archive.py:12
Method__ne__
(self, __value: object)
py/zip_page.py:12
Method_load_image
@private 加载图片为 (B, H, W, C) 的 torch.Tensor @param {str} path - 图片路径 @returns {torch.Tensor} 图像张量
py/image_concatenate_v1.py:144
Method_resize_image_and_mask
缩放图像和mask。 @param image {PIL.Image} 输入图像 @param mask {PIL.Image|None} 输入mask @param resize_mode {str} 缩放模式 @p
py/image_resize_v3.py:134
Methodadd_background
* 给透明底图片添加自定义背景 * 保持原图尺寸不变 * mask默认会被反转
py/add_Background.py:40
Methodadd_custom_label
(self, image, enable_resize, longer_size, text_x, text_y, text, height, font_size, font, color, direction, cap
py/add_label.py:63
Methodadd_word
批量为文本添加词语 支持前缀、后缀、替换、插入等操作
py/text_list_string_add_word.py:70
Methodapply_text_overlay
(self, image, text, font_size, font_color, position_x, position_y, letter_gap, font_name)
py/text_overlay_node.py:43
Methodarrange_nodes_batch
(self, input_folder, output_folder, start_x, start_y, increment, file_prefix)
py/PDJSON_incrementalnumber.py:133
Methodbatch_crop_border
批量处理图片
py/crop_border.py:159
Methodbatch_rename_files
(self, folder_path, keyword_to_remove, output_path="")
py/rename_V2.py:36
FunctionbeforeRegisterNodeDef
(nodeType, nodeData, app)
web/show.js:38
FunctionbeforeRegisterNodeDef
(nodeType, nodeData, app)
web/pd_upload_zip.js:102
FunctionbeforeRegisterNodeDef
(nodeType, nodeData, app)
web/download_button.js:6
Methodcalculate_dimensions
(self, aspect_ratio, max_size)
py/image_ratio selector.py:29
Methodcalculate_mask_area
(mask)
py/mask_selection.py:24
Methodcenter_crop
根据动态输入的 W 和 H 值,在左右和上下两边等边裁切,确保裁切后的图像居中。 参数: image (tensor): 输入图像张量 [B, H, W, C] W (int): 动态输入的 W 值(左右两边各自裁切
py/pd_image.py:102
Methodclassify_files
文件分类主函数
py/PD_aitookit.py:58
Methodcompress
(self, image, target_kb, save_to_disk, filename_prefix, mask=None)
py/Tool_sImage Compress.py:34
Methodconcat_and_load
@functiondesc 合并两张图片,支持最长边等比缩放和按image1尺寸裁切两种模式。 @param {torch.Tensor} image1 - 第一张图片 @param {str} direction - 合并方向
py/image_concatenate_v1.py:64
Methodconvert
(self, string, fallback)
py/PD_string_to_ratio_combo.py:19
Methodconvert
(text)
py/image_list_sort.py:221
Methodconvert_to_json
将文本转换为JSON格式字符串 支持批处理:输入列表,输出列表
py/string_to_caption_json.py:77
Methodcount_lines
(self, text)
py/text_JoinStringMultiLine.py:73
Methodcrop_border
裁切单张图片的边框
py/crop_border.py:341
Methodcrop_by_pixels
* 按像素尺寸和方向裁切图片(始终从direction指定边缘开始) * @param {torch.Tensor} image - 输入图像张量 (B, H, W, C) * @param {int} size_width - 裁切宽度(像素)
py/image_crop_v2_alt.py:32
Methodcrop_by_ratio
* 根据比例和最长边长度裁切图像 * @param {torch.Tensor} image - 输入图像张量 (B, H, W, C) * @param {int} ratio_a - 比例A * @param {int} rati
py/image_ratio_V1.py:35
Methodcrop_by_ratio
* 按比例和方向裁切图片(始终从direction指定边缘开始) * @param {torch.Tensor} image - 输入图像张量 (B, H, W, C) * @param {int} ratio_a - 比例A * @
py/image_crop_v1.py:32
Methodcrop_image_location
(self, image, x, crop_direction, mask=None)
py/image_crop_v2.py:36
Methoddelete_keyword
从字符串中删除指定关键词 Args: input_string: 输入的原始字符串 keyword: 要删除的关键词 Returns: 删除关
py/string_del_word.py:25
Methodedit_caption_json
编辑Caption JSON字符串 支持批处理:输入列表,输出列表
py/caption_json_editor.py:66
Methodedit_caption_json
编辑Caption JSON字符串 支持批处理:输入列表,输出列表
py/json_text to json_editor.py:66
Methodexecute
(self, cond_1, cond_2, **kwargs)
py/if_boon.py:24
← previousnext →201–300 of 398, ranked by callers