ComfyUI Node
Universal Calculator (TJ)
A ComfyUI node in ✨ TJ_Node/Utility with 10 inputs and 6 outputs.
Universal Calculator (TJ)
- width
- height
- frame_count
- seconds
- fps
- info
◄res_modeaspect_ratio►
◄width0►
◄height0►
◄aspect_w16►
◄aspect_h9►
◄megapixels1.00►
◄divisor8►
◄fps24.00►
◄seconds0.00►
◄frame_count0►
Category ✨ TJ_Node/Utility
Inputs (10)
| Name | Type | Default | Description |
|---|---|---|---|
| res_mode | COMBO | aspect_ratio | 2 options: aspect_ratio, megapixel |
| width | INT | 00–8192 | — |
| height | INT | 00–8192 | — |
| aspect_w | INT | 161–10000 | — |
| aspect_h | INT | 91–10000 | — |
| megapixels | FLOAT | 1.000.01–64 | — |
| divisor | COMBO | 8 | 4 options: 8, 16, 32, 64 |
| fps | FLOAT | 24.000.1–1000 | — |
| seconds | FLOAT | 0.000–100000 | — |
| frame_count | INT | 00–1000000 | — |
Outputs (6)
| Name | Type | Description |
|---|---|---|
| width | INT | — |
| height | INT | — |
| frame_count | INT | — |
| seconds | FLOAT | — |
| fps | FLOAT | — |
| info | STRING | — |