Files
Gerald LonlasandClaude Opus 4.8 479b021d14 feat: ratio-first resolution picker with image-driven aspect ratio
Redesign the profile editor's dimension controls into a two-step flow:
pick a shape (orientation + aspect-ratio chips), then a resolution tier on
a fast-mock -> high-res scale. Width/height are derived by fitting the ratio
into the tier's pixel budget and snapping to a multiple of 8, replacing the
33-entry preset dropdown and free-text custom field.

Add an optional IMAGE input: when connected, the node adopts the image's
aspect ratio at runtime while the selected profile still sets the resolution
(pixel budget) and step count. A banner and form note surface this in the UI.

Tests: +8 Python cases for image-dimension reading and ratio-to-area fitting
(91 total); existing 65 JS pure-helper tests unchanged and passing.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-07-14 23:32:06 +08:00
..