Extensions/ComfyUi-Scale-Image-to-Total-Pixels-Advanced
ComfyUI Extension

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

A more advanced version of the original ImageScaleToTotalPixels node

By BigStationW·Created 12 months ago·Updated 26 days ago· 40
BigStationW/ComfyUi-Scale-Image-to-Total-Pixels-Advanced
Nodes1
On cloudLocal install
Categoryimage/upscaling
Stars40
Updated26 days ago
Readme

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

1) Intro

A more advanced version of the original node

  • Outputs both width and height
  • Allows you to set the "multiple_of" for the width/height pair (e.g., use 16 for 16-channel VAEs)
  • Set "megapixels = 0" to disable megapixel scaling
<img width="720" alt="image" src="https://github.com/user-attachments/assets/c5e7558d-9a19-4f20-bea7-c1bb33be878e" />

2) Install

Navigate to the ComfyUI/custom_nodes folder and run the following command in your terminal:

git clone https://github.com/BigStationW/ComfyUi-Scale-Image-to-Total-Pixels-Advanced