Commit Graph
9 Commits
Author SHA1 Message Date
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 7555bd8085 fix bug,add different language 2025-01-04 17:15:11 +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
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