Resolution maths for latent-space models, done exactly. Real megapixels (10^6, not 1024^2), patch-grid alignment for Krea 2 / MiniMax H3 / Flux / SDXL, and aspect ratios held exact instead of drifting on rounding.
https://github.com/dreevelle/ComfyUI-ResolutionTools
git clone https://github.com/dreevelle/ComfyUI-ResolutionTools
comfy node install comfyui-resolution-tools