Commit Graph
19 Commits
Author SHA1 Message Date
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 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 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 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 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 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 d5a47e1be5 fix 2024-12-26 13:04:55 +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
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 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 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 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
fujammy 1527d8dc22 Refactor image resolution calculation to support dynamic aspect ratios and enforce resolution constraints. Update resolution options to include only SDXL optimal resolutions. Improve error handling for invalid aspect ratio formats. 2024-12-25 01:24:13 +08:00
jammyfu c58a94f6b2 add image resolution 2024-12-24 19:21:06 +08:00
fujammy e75c5c6553 添加文件 2024-12-24 11:18:28 +08:00