ComfyUI custom node: resize an image to the closest standard aspect ratio at a target megapixel count (or a custom resolution), snapped down to a selectable pixel multiple, with image, VAE latent, empty latent (SDXL / Flux.2 Klein), width and height outputs and an on-node resolution readout. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
6 lines
174 B
Python
6 lines
174 B
Python
from .nodes import NODE_CLASS_MAPPINGS, NODE_DISPLAY_NAME_MAPPINGS
|
|
|
|
WEB_DIRECTORY = "./web"
|
|
|
|
__all__ = ["NODE_CLASS_MAPPINGS", "NODE_DISPLAY_NAME_MAPPINGS", "WEB_DIRECTORY"]
|