ComfyUI Node
π§ AspectRatio (Dehypnotic)
In Presets, you can double-click the 3 smaller preset-buttons to set your own presets. Attach an image to use it as a reference for custom ratio or 'dims' (short for dimensions, of course). You can also VAE encode the image for use in i2i or similar workflows. Switch for it in Processing together with another for image scaling. The snap value is the nearest multiple of the value to which the width and height will be rounded.
π§ AspectRatio (Dehypnotic)
- image
- vae
- width
- height
- latent
- scaled_image
CategoryDehypnotic/π Aspect Ratio
Inputs (2)
| Name | Type | Default | Description |
|---|---|---|---|
| imageopt | IMAGE | β | |
| vaeopt | VAE | β |
Outputs (4)
| Name | Type | Description |
|---|---|---|
| width | INT | β |
| height | INT | β |
| latent | LATENT | β |
| scaled_image | IMAGE | β |