fujammy
71cd8941fe
Enhance ImageResolutionAdjuster to support feathering in mask calculations. Updated mask creation logic in both 'contain' and 'pad' modes to utilize the new feathering parameter, improving the quality of image processing. This change enhances flexibility and visual output for users adjusting image resolutions.
2025-01-05 01:20:58 +08:00
fujammy
ad1c204c7e
Update NODE_DISPLAY_NAME_MAPPINGS for MaskPreview and enhance calculate_mask function in ImageResolutionAdjuster. Changed display name from "Mask Preview 🖼️ " to "Mask Preview 🎭 ". Refactored mask creation logic to improve feathering effect and added 'feathering' parameter for better mask handling. Updated adjust_resolution method to use feathering parameter, enhancing flexibility in image processing.
2025-01-05 01:06:45 +08:00
fujammy
c83ea89a59
Refactor dynamic input handling in image and mask combiners. Updated combine_images and combine_masks methods to streamline input processing by sorting and filtering non-None values. Improved error handling and ensured consistent return of empty images/masks when no valid inputs are provided. Enhanced text_combiner to manage text inputs more efficiently, ensuring proper handling of separators and empty inputs. These changes improve functionality and user experience across the dynamic input features.
2025-01-04 22:58:26 +08:00
fujammy
615d7f1e44
Enhance internationalization support in I18n class and update text_combiner for improved user experience. Added new language handling methods and updated translation loading. Refactored placeholder and error messages in TextCombiner to utilize dynamic translations based on app language settings. Introduced new nodes: DynamicMaskCombiner and SimpleTextInput, with corresponding mappings in NODE_CLASS_MAPPINGS and NODE_DISPLAY_NAME_MAPPINGS.
2025-01-04 20:10:44 +08:00
fujammy
4c5a371fde
Refactor dynamic_image_input.js to improve image input connection management. Enhanced logic for counting and managing image inputs, ensuring at least one input is retained. Updated input addition and removal processes to only remove unused inputs when necessary, improving functionality and user experience for dynamic image handling.
2025-01-04 18:48:29 +08:00
fujammy
e618383a32
Refactor text_combiner.js to improve input connection management. Enhanced logic for counting and managing text input connections, ensuring at least one input is retained. Updated input addition and removal processes to be more efficient and only remove unused inputs when necessary. This change improves the functionality and user experience of the text combiner feature.
2025-01-04 18:23:18 +08:00
fujammy
7555bd8085
fix bug,add different language
2025-01-04 17:15:11 +08:00
fujammy
f481e1015a
fix
2025-01-04 02:42:24 +08:00
fujammy
44502674ac
fix bugs
2025-01-04 02:28:24 +08:00
jammyfu
9eaf7b12e9
Enhance ImageResolutionAdjuster by adding 'invert_mask' parameter for improved mask handling. Updated adjust_resolution method to support mask inversion, enhancing flexibility in image processing. This change streamlines the workflow for users requiring mask adjustments.
...
添加mask反向参数
2025-01-03 21:16:34 +08:00
fujammy
f38d7e3a79
Refactor image processing and UI components for improved functionality. Enhanced MaskPreview class to streamline mask handling and output structure. Updated ClickPopup and DynamicImageCombiner nodes to improve event handling and connection management. Added custom styles for TextCombiner node to enhance visual presentation. These changes improve user experience and maintainability across the application.
2025-01-03 02:55:55 +08:00
fujammy
60aa821fca
Update mask_preview01.png to enhance visual representation for the Mask Preview functionality, improving overall user experience and consistency with recent feature additions.
2025-01-03 01:26:39 +08:00
fujammy
f766f68f22
fix readme
2025-01-03 01:25:06 +08:00
fujammy
d9c651eb7f
Enhance README files to include the new Mask Preview node, detailing its features, usage instructions, and visual examples. This update also introduces the Show Text Plus node, improving text display options. Version history updated to reflect these additions and enhancements.
2025-01-03 01:21:36 +08:00
fujammy
e6e4dc7865
Update README files to include new features: added Show Text Plus and Multiline Text nodes with detailed descriptions, usage instructions, and examples. Enhanced text formatting options and statistics functionality for improved user experience.
2025-01-03 01:05:29 +08:00
fujammy
d437bd7454
Refactor ShowTextPlus extension to improve widget management and dynamic display functionality. Enhanced widget cleanup logic to retain the first two widgets, added a toggle for output visibility, and ensured proper handling of text input arrays. Updated node size adjustment methods for better responsiveness during configuration and execution. This update streamlines user interaction and improves overall usability.
...
完善文本显示开关功能逻辑
2024-12-31 02:24:26 +08:00
fujammy
bb1f345a25
Refactor web extension to improve widget management and display functionality. Updated widget cleanup logic to retain the first two widgets and added a toggle for output display. Enhanced node creation to include a display toggle, allowing dynamic visibility of output text based on user interaction.
...
添加控制开关
2024-12-31 02:05:09 +08:00
jammyfu
d94f171fd6
Refactor and enhance image processing nodes in ComfyUI. Added new nodes for dynamic image input, image resolution adjustment
...
类结构修改,功能完善
2024-12-30 20:33:00 +08:00
fujammy
14563130cd
Enhance MaskPreview class to support list output and improve mask handling. Added MaskPreview to initialization and updated return structure to include converted masks alongside images.
...
修正Maskpreview输出bug
2024-12-30 02:04:04 +08:00
fujammy
6fe190e123
Add MaskPreview class for mask visualization and preview functionality
...
添加mask预览节点
2024-12-30 01:46:53 +08:00
fujammy
163a26d4c6
Update README files to replace local image links with direct URLs for better accessibility.
...
图片地址改为绝对地址
2024-12-29 20:29:22 +08:00
PaintingCoder
6614465bcc
Update README_CN.md
...
cn_readme bug fix
2024-12-29 10:31:09 +08:00
PaintingCoder
8784c40550
Update README.md
...
url fix
2024-12-29 10:28:20 +08:00
fujammy
40321e9742
Refactor mask generation in image resizing functions to include scale factor parameter. Updated calculate_mask function to improve mask creation logic and ensure accurate handling of image boundaries across all resizing methods.
...
修改不同对齐方式mask生成的逻辑
2024-12-28 11:16:28 +08:00
fujammy
07f6fed1f5
Update .gitignore to include specific cache files and IDE-related entries. Adjusted the ignore rules to better manage Python cache and IDE artifacts, enhancing project cleanliness. Updated binary file in __pycache__ for image resolution adjuster.
2024-12-26 23:45:51 +08:00
fujammy
d8bb35f328
Enhance image resizing functionality by adding mask generation for all resizing methods. Updated the resize_image function to return a mask alongside the resized image, ensuring better handling of image boundaries. Improved the calculate_mask function to support various alignment modes and ensure accurate mask creation. This update enhances the overall image processing capabilities.
2024-12-26 21:29:45 +08:00
jammyfu
38ed66c9bb
fix
2024-12-26 13:06:44 +08:00
jammyfu
d5a47e1be5
fix
2024-12-26 13:04:55 +08:00
jammyfu
5a681db545
Add Mask (Incomplete)
2024-12-26 12:58:45 +08:00
fujammy
c043f4ff00
Enhance TextCombiner with improved UI and styling. Added custom CSS for node appearance, including background and title bar colors. Updated JavaScript to manage node creation and connections more effectively. This update aims to improve the user experience and visual integration of the TextCombiner node.
...
增强了TextCombiner的UI和样式,添加了自定义CSS以调整节点外观,包括背景和标题栏颜色。更新了JavaScript以更有效地管理节点创建和连接。本次更新旨在提升用户体验和TextCombiner节点的视觉整合。
2024-12-26 04:21:11 +08:00
fujammy
e2a95da1a8
Update README files to include new Text Combiner node and its features. Added an image to illustrate the functionality. Enhanced TextCombiner class to support regex usage for separators, improving flexibility in text processing.
...
更新了README文件,以包含新的文本组合器节点及其功能。添加了一张图片以说明其功能。增强了TextCombiner类,以支持正则表达式用作分隔符,提高了文本处理的灵活性。
2024-12-26 03:22:06 +08:00
fujammy
0a761ad09a
Enhance DynamicImageCombiner with meta configuration and update README files. Added default width and dimension options in DynamicImageCombiner. Updated README_CN.md and README.md to include an image and improved descriptions for the Dynamic Image Input node.
...
增强 DynamicImageCombiner 的元配置并更新 README 文件。在 DynamicImageCombiner 中添加默认宽度和尺寸维护选项。更新 README_CN.md 和 README.md,以包含一张图片并改进了 Dynamic Image Input 节点的描述。
2024-12-26 02:53:43 +08:00
fujammy
09161a58ba
readme update
2024-12-26 02:09:07 +08:00
fujammy
5612977396
This commit introduces a new function, create_outline, which adds a 1-pixel outline to images using the complementary color of a specified background. The adjust_resolution method now includes an add_outline parameter to enable or disable this feature, and the configuration supports the add_outline option, enhancing flexibility in adjusting image resolution.
...
这个提交引入了一项新功能 create_outline,可以为图像添加1像素的轮廓,使用指定背景色的互补色。更新了 adjust_resolution 方法,添加了 add_outline 参数,允许用户启用或禁用该功能。此外,配置现在支持 add_outline 选项,提高了图像分辨率调整过程的灵活性。
2024-12-26 01:30:44 +08:00
fujammy
bc86bf84d6
Enhanced image resizing with customizable background colors. Updated resize_image to use a specified background color and improved the background_color parameter for better consistency.
...
fix bug
优化图像缩放功能,支持自定义背景颜色。更新了 resize_image 函数以使用指定的背景颜色,并改进了配置中的 background_color 参数,确保处理的一致性。这一更新提升了用户体验,提供了更多灵活的图像展示选项。
2024-12-26 01:10:23 +08:00
fujammy
ad177a4794
readme fix
2024-12-26 00:40:52 +08:00
fujammy
31837919dc
readme update
2024-12-26 00:31:07 +08:00
fujammy
50117f54e6
Directory Structure and README Update
...
目录结构和readme修改
2024-12-26 00:23:30 +08:00
jammyfu
1610fce3f4
Introduce DynamicImageCombiner class and update init.py for node integration.
...
This commit adds the DynamicImageCombiner class, enabling dynamic addition of multiple image inputs and outputting a list of connected images. The init.py file now includes this new node in NODE_CLASS_MAPPINGS and NODE_DISPLAY_NAME_MAPPINGS. A new JavaScript file has also been created to manage the node's behavior, enhancing image processing functionality.
引入DynamicImageCombiner类并更新__init__.py以实现节点集成。
此提交添加了DynamicImageCombiner类,可以动态地添加多个图像输入,并输出所有连接图像的列表。init.py文件现在在NODE_CLASS_MAPPINGS和NODE_DISPLAY_NAME_MAPPINGS中包含了这个新节点。此外,还创建了一个新的JavaScript文件来管理该节点的行为,增强了图像处理功能。
2024-12-25 22:23:01 +08:00
jammyfu
18a2e0f24f
Refactor TextCombiner to improve separator handling and error messages. Enhanced the placeholder for separator input to clarify escape character usage. Updated regex processing to escape special characters and improved error handling for regex inputs. This update aims to enhance the functionality and user experience of the TextCombiner class.
...
重构了TextCombiner以改善分隔符处理和错误信息。增强了分隔符输入的占位符以明确转义字符的使用。更新了正则表达式处理以转义特殊字符,并改进了正则表达式输入的错误处理。此更新旨在提升TextCombiner类的功能和用户体验。
2024-12-25 22:01:30 +08:00
jammyfu
d71fe10603
Enhance README.md with detailed documentation for the new TextCombiner node. Added features section outlining dynamic inputs, flexible separators, and auto filtering. Included usage examples for various separator configurations. Version updated to v0.1.1.
2024-12-25 21:50:05 +08:00
jammyfu
f9afc289f5
Enhance README files with detailed descriptions and examples for TextCombiner functionality. Add new section outlining features such as dynamic input, flexible separators, and automatic filtering. Update images to reflect changes in text processing capabilities. Version updated to v0.1.1.
2024-12-25 21:48:40 +08:00
jammyfu
0f0e332d6c
Refactor __init__.py to include ClickPopup; update TextCombiner for enhanced text processing with regex This commit adds the ClickPopup class to NODE_CLASS_MAPPINGS and NODE_DISPLAY_NAME_MAPPINGS in __init__.py. Additionally, the TextCombiner class has been refactored to improve its functionality, allowing for customizable separators and enhanced error handling for regex inputs. The changes aim to enhance the text processing capabilities of the application.
2024-12-25 21:22:13 +08:00
jammyfu
55f99320a1
Add TextCombiner and MultilineTextInput classes; update __init__.py for new nodes
...
This commit introduces two new classes: TextCombiner and MultilineTextInput, enhancing the text processing capabilities of the application. The __init__.py file has been updated to include these new nodes in the NODE_CLASS_MAPPINGS and NODE_DISPLAY_NAME_MAPPINGS. Additionally, the requirements.txt file has been cleaned up by removing the outdated Gradio dependency
2024-12-25 18:53:35 +08:00
fujammy
9abb731be5
Enhance README files by adding images for the Image Resolution Adjuster settings to improve visual understanding of the utility. This update includes the addition of a screenshot in both English and Chinese README files.
2024-12-25 12:50:38 +08:00
fujammy
827deb17b2
Update README files to standardize parameter descriptions and examples for text processing features. Replace outdated terms with clearer options, and enhance image captions for better understanding of functionality.
2024-12-25 12:22:36 +08:00
fujammy
8a19b6c970
Refactor initialization in __init__.py to include ColorPicker and update NODE_CLASS_MAPPINGS. Enhance README files with parameter settings and examples for text processing features. Update documentation to improve clarity and usability.
2024-12-25 11:58:40 +08:00
fujammy
2266642088
Update version date in README files
2024-12-25 03:18:54 +08:00
fujammy
3111ed4a1b
Update compiled Python bytecode for image resolution adjuster
2024-12-25 03:16:37 +08:00
fujammy
60205d34b7
Refactor image initialization and error handling; enhance image resolution adjuster with background color support and improved functionality. Update README files to reflect new features and usage instructions.
2024-12-25 03:03:27 +08:00