Commit Graph
5 Commits
Author SHA1 Message Date
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
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