From 50117f54e6f324d41f6ba45c9569afe8e2ea0b7e Mon Sep 17 00:00:00 2001 From: fujammy <467918@qq.com> Date: Thu, 26 Dec 2024 00:23:30 +0800 Subject: [PATCH] =?UTF-8?q?Directory=20Structure=20and=20README=20Update?= =?UTF-8?q?=20=E7=9B=AE=E5=BD=95=E7=BB=93=E6=9E=84=E5=92=8Creadme=E4=BF=AE?= =?UTF-8?q?=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- README.md | 80 +++++++++--------- README_CN.md | 13 ++- .../images/image_resolution_adjuster01.png | Bin .../images/rm_line_and_space_cn01.png | Bin .../images/rm_line_and_space_cn02.png | Bin .../images/rm_line_and_space_cn03.png | Bin .../images/rm_line_and_space_cn04.png | Bin 7 files changed, 46 insertions(+), 47 deletions(-) rename {docment => docs}/images/image_resolution_adjuster01.png (100%) rename {docment => docs}/images/rm_line_and_space_cn01.png (100%) rename {docment => docs}/images/rm_line_and_space_cn02.png (100%) rename {docment => docs}/images/rm_line_and_space_cn03.png (100%) rename {docment => docs}/images/rm_line_and_space_cn04.png (100%) diff --git a/README.md b/README.md index f32d63c..59c89a6 100644 --- a/README.md +++ b/README.md @@ -16,45 +16,10 @@ A collection of utility nodes designed for ComfyUI, offering convenient image pr ## 🎯 Nodes -### 📝Text -#### TextCombiner -A text combiner that merges multiple text inputs into a single output. - -Features: -- Dynamic Inputs: Automatically adds new input points when connected -- Flexible Separators: - - Supports regular expressions - - Supports escape characters (e.g., \n, \r) - - Uses space as separator when left empty -- Smart Line Breaks: Automatically splits output by lines when separator contains line breaks -- Auto Filtering: Removes empty lines while preserving whitespace content - -Usage Examples: -1. Basic Usage: - - Using comma as separator: `,` - - Output: text1, text2, text3 - -2. Line Break Separator: - - Using newline: `\n` - - Output: - ``` - text1 - text2 - text3 - ``` - -3. Mixed Separator: - - Using comma or newline: `,|\n` - - Supports both separation methods - -4. Empty Separator: - - Leave empty - - Directly connects texts with spaces - ### Image Resolution Adjuster A utility node for adjusting image resolutions according to SDXL optimal aspect ratios. -![Image Resolution Adjuster Settings](docment/images/image_resolution_adjuster01.png) +![Image Resolution Adjuster Settings](docs/images/image_resolution_adjuster01.png) Features: - Supports all SDXL optimal resolutions: @@ -124,16 +89,51 @@ Use Cases: - Standardizing text input format Remove extra empty lines and spaces to generate text: -![Remove extra empty lines and spaces to generate text](docment/images/rm_line_and_space_cn01.png) +![Remove extra empty lines and spaces to generate text](docs/images/rm_line_and_space_cn01.png) Remove empty lines while keeping spaces to generate text: -![Remove empty lines while keeping spaces to generate text](docment/images/rm_line_and_space_cn02.png) +![Remove empty lines while keeping spaces to generate text](docs/images/rm_line_and_space_cn02.png) Remove spaces while keeping empty lines to generate text: -![Remove spaces while keeping empty lines to generate text](docment/images/rm_line_and_space_cn03.png) +![Remove spaces while keeping empty lines to generate text](docs/images/rm_line_and_space_cn03.png) Remove empty lines and spaces to generate list: -![Remove empty lines and spaces to generate list](docment/images/rm_line_and_space_cn04.png) +![Remove empty lines and spaces to generate list](docs/images/rm_line_and_space_cn04.png) + + +### 📝TextCombiner +A text combiner that merges multiple text inputs into a single output. + +Features: +- Dynamic Inputs: Automatically adds new input points when connected +- Flexible Separators: + - Supports regular expressions + - Supports escape characters (e.g., \n, \r) + - Uses space as separator when left empty +- Smart Line Breaks: Automatically splits output by lines when separator contains line breaks +- Auto Filtering: Removes empty lines while preserving whitespace content + +Usage Examples: +1. Basic Usage: + - Using comma as separator: `,` + - Output: text1, text2, text3 + +2. Line Break Separator: + - Using newline: `\n` + - Output: + ``` + text1 + text2 + text3 + ``` + +3. Mixed Separator: + - Using comma or newline: `,|\n` + - Supports both separation methods + +4. Empty Separator: + - Leave empty + - Directly connects texts with spaces ## 📝 License diff --git a/README_CN.md b/README_CN.md index d2ba85e..11f78b9 100644 --- a/README_CN.md +++ b/README_CN.md @@ -19,7 +19,7 @@ ### 图像分辨率调整器 (Image Resolution Adjuster) 一个用于按照 SDXL 最佳宽高比调整图像分辨率的实用节点。 -![图像分辨率调整器设置](docment/images/image_resolution_adjuster01.png) +![图像分辨率调整器设置](docs/images/image_resolution_adjuster01.png) 特点: - 支持所有 SDXL 最佳分辨率: @@ -89,20 +89,19 @@ - 标准化文本输入格式 清除多余的空行及空格生成文本: -![清除多余的空行及空格生成文本](docment/images/rm_line_and_space_cn01.png) +![清除多余的空行及空格生成文本](docs/images/rm_line_and_space_cn01.png) 清除空行保留空格生成文本: -![清除空行保留空格生成文本](docment/images/rm_line_and_space_cn02.png) +![清除空行保留空格生成文本](docs/images/rm_line_and_space_cn02.png) 清除空格保留空号生成文本: -![清除空格保留空号生成文本](docment/images/rm_line_and_space_cn03.png) +![清除空格保留空号生成文本](docs/images/rm_line_and_space_cn03.png) 清除空行、空格生成列表: -![清除空行、空格生成列表](docment/images/rm_line_and_space_cn04.png) +![清除空行、空格生成列表](docs/images/rm_line_and_space_cn04.png) -### 📝Text -#### TextCombiner +### 📝文本组合器(TextCombiner) 文本组合器,可以将多个文本输入组合成一个文本输出。 功能特点: diff --git a/docment/images/image_resolution_adjuster01.png b/docs/images/image_resolution_adjuster01.png similarity index 100% rename from docment/images/image_resolution_adjuster01.png rename to docs/images/image_resolution_adjuster01.png diff --git a/docment/images/rm_line_and_space_cn01.png b/docs/images/rm_line_and_space_cn01.png similarity index 100% rename from docment/images/rm_line_and_space_cn01.png rename to docs/images/rm_line_and_space_cn01.png diff --git a/docment/images/rm_line_and_space_cn02.png b/docs/images/rm_line_and_space_cn02.png similarity index 100% rename from docment/images/rm_line_and_space_cn02.png rename to docs/images/rm_line_and_space_cn02.png diff --git a/docment/images/rm_line_and_space_cn03.png b/docs/images/rm_line_and_space_cn03.png similarity index 100% rename from docment/images/rm_line_and_space_cn03.png rename to docs/images/rm_line_and_space_cn03.png diff --git a/docment/images/rm_line_and_space_cn04.png b/docs/images/rm_line_and_space_cn04.png similarity index 100% rename from docment/images/rm_line_and_space_cn04.png rename to docs/images/rm_line_and_space_cn04.png