Commit Graph
8 Commits
Author SHA1 Message Date
jammyfu df89683e98 Enhance image resolution handling with expanded aspect ratio support and improved scaling logic 2025-01-26 22:57:18 +08:00
jammyfu 3865813a7c Refactor node mappings to include PaintingCoder namespace and enhance workflow fixer UI
- Updated NODE_CLASS_MAPPINGS and NODE_DISPLAY_NAME_MAPPINGS across multiple modules to prepend 'PaintingCoder::' to node names for better organization.
- Enhanced the workflow fixer HTML with a new layout, language toggle feature, and improved styling for better user experience.
- Added functionality for selecting fix types and path conversion options in the workflow fixer tool.
- Improved error handling and success messages in the workflow fixer script.
2025-01-21 17:48:55 +08:00
fujammy b94ea57099 Refactor install script to manage package installations and update requirements. Translated error messages to Chinese and added gradio as a required package in requirements.txt. Updated image_resolution_adjuster.py by removing unused imports for cleaner code. 2025-01-06 01:42:46 +08:00
fujammy 59b3895777 Refactor calculate_mask function in ImageResolutionAdjuster to enhance extend_mode handling. Added support for feathering in 'top', 'bottom', 'left', 'right', and 'center' modes, improving mask creation logic. Updated conditions for feathering effect application, ensuring better visual output and flexibility in image processing. 2025-01-05 02:01:35 +08:00
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
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
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