a809e1afa2938b40b01caa036f56fa260f48d57f
resolution_matrix.py, include developer workflow documentation, and create a .gitignore file.
PixelForge Resolution Matrix
A ComfyUI custom node for selecting mathematically valid image resolutions.
Features
- Aspect ratio selection (1:1, 3:2, 4:3, 16:9, 16:10)
- Orientation switch (landscape / portrait)
- Divisibility constraints (16 / 32 / 64)
- Max megapixel limit
- 1 MP = 1024 × 1024 = 1,048,576 pixels
- Dynamically filtered resolution dropdown
- Outputs:
- Width (px)
- Height (px)
- Aspect ratio (W/H)
- Orientation
- Total megapixels (float)
Installation
Copy the folder into:
ComfyUI/custom_nodes/
Restart ComfyUI.
Category
PixelForge
License
MIT
Languages
Python
75.9%
JavaScript
24.1%