This repository provides a custom node for ComfyUI that allows users to resize a master image into multiple dimensions based on presets managed in an Excel or CSV/TSV format. It directly supports .xlsx files without the need for export and utilizes the Lanczos3 resizing filter.
- Supports direct reading of Excel files to manage image resizing presets.
- Generates precise masks for safe areas in images to avoid cutting off important elements.
- Offers a gallery interface for previewing multiple image outputs simultaneously.
Context
This tool, known as Floyo Preset Image Resize, serves as a custom node within ComfyUI, enabling users to efficiently manage and resize images according to predefined specifications stored in Excel spreadsheets. Its primary purpose is to automate the resizing process while ensuring that the generated images meet specific aspect ratios and quality requirements.
Key Features & Benefits
The tool allows for seamless integration of image resizing workflows directly from Excel files, making it user-friendly for those familiar with spreadsheet management. By utilizing a fixed Lanczos3 filter for resizing, it ensures high-quality outputs, while the automatic naming and saving of images based on Excel data minimizes manual effort and potential errors.
Advanced Functionalities
One of the advanced capabilities includes the generation of precise masks that delineate safe areas within images, helping to avoid the loss of critical elements such as logos or text during the resizing process. Additionally, the tool can handle multiple aspect ratios and generate a comprehensive list of images and masks for further processing or review, streamlining the workflow significantly.
Practical Benefits
This tool enhances the overall efficiency of image processing within ComfyUI by automating the resizing and management of multiple images based on user-defined presets. It provides greater control over output quality and ensures that images are resized according to specific requirements, ultimately saving time and reducing the risk of manual errors.
Credits/Acknowledgments
The repository is maintained by the original authors who have contributed to the development of this custom node for ComfyUI. It is open-source and adheres to the licensing agreements specified in the repository.




