ComfyUI Node
Manga Panel Resolution
Calculates a model-friendly generation resolution while preserving the selected panel ratio.
Manga Panel Resolution
- generation_width
- generation_height
- aspect_ratio
- scale_factor
◄panel_width512►
◄panel_height512►
◄target_megapixels1.00►
◄multiple64►
◄max_width2048►
◄max_height2048►
◄mode▾►
Categoryimage/manga
Inputs (7)
| Name | Type | Default | Description |
|---|---|---|---|
| panel_width | INT | 5121–16384 | — |
| panel_height | INT | 5121–16384 | — |
| target_megapixels | FLOAT | 1.000.1–16 | — |
| multiple | COMBO | 64 | 4 options: 8, 16, 32, 64 |
| max_width | INT | 204864–16384 | — |
| max_height | INT | 204864–16384 | — |
| mode | COMBO | 2 options: closest_area, fit_within_bounds |
Outputs (4)
| Name | Type | Description |
|---|---|---|
| generation_width | INT | — |
| generation_height | INT | — |
| aspect_ratio | FLOAT | — |
| scale_factor | FLOAT | — |