floyo logo
Powered by
ThinkDiffusion
floyo logo
Powered by
ThinkDiffusion

ComfyUi-Scale-Image-to-Total-Pixels-Advanced

31

Last updated
2026-02-12

A more sophisticated version of the original image scaling node for ComfyUI, this tool enhances the functionality of image size adjustments by allowing users to specify both width and height outputs. It introduces the ability to set a "multiple_of" value for dimensions, catering specifically to the requirements of 16-channel VAEs, while also offering an option to disable megapixel scaling.

  • Provides precise control over image dimensions by allowing users to define width and height outputs.
  • Introduces a "multiple_of" parameter for optimal compatibility with specific VAEs, enhancing image processing capabilities.
  • Offers the ability to disable megapixel scaling, giving users more flexibility in their image adjustments.

Context

This tool serves as an advanced node in the ComfyUI framework, specifically designed to facilitate detailed image scaling. Its primary purpose is to enhance the user experience by providing more granular control over the dimensions of images processed within the ComfyUI environment.

Key Features & Benefits

The tool's ability to output both width and height gives users the flexibility to customize image sizes according to their specific needs. The "multiple_of" setting is particularly beneficial for users working with 16-channel VAEs, ensuring that images are scaled appropriately for optimal processing. Additionally, the option to disable megapixel scaling allows users to maintain control over the final output quality and size.

Advanced Functionalities

One of the standout features is the capability to set the "multiple_of" parameter, which ensures that the output dimensions align with the requirements of advanced models. This specialized functionality is crucial for users who need precise control over their image outputs, especially in scenarios where specific dimensionality is necessary for further processing or analysis.

Practical Benefits

By integrating this tool into their workflow, users can significantly improve their image processing efficiency and quality. The enhanced control over image dimensions allows for more tailored outputs, which can lead to better results in AI art generation and other applications within ComfyUI. Overall, this tool streamlines the image scaling process, making it more adaptable to varying user needs.

Credits/Acknowledgments

This tool is developed by contributors from the ComfyUI community, with specific references to the original node by ComfyAnonymous. It is open-source and available under the relevant licenses associated with the ComfyUI project.

Inner Nodes

ImageScaleToTotalPixelsX