Files
shootthesound-ComfyUI-Angelo/web
shootthesound 929a88a49e feat: ⬇ Shrink Image button — pick a scale factor (with live new-dimensions readout), area-resample downscale
New Quick Actions button after Large Image Refine. Opens a popup showing the
current dimensions, a percent input with 75/50/33/25% quick presets, and a
LIVE "New: W × H" readout (snapped to a multiple of 16, computed with the
same formula the backend uses so it matches exactly). On confirm it sets
shrink_scale + bumps shrink_seq.

Backend downscales with AREA resampling (comfy common_upscale "area") — box
averaging, the right method for shrinking: it averages the discarded pixels
so it anti-aliases, unlike lanczos (great for UPscaling) which can ring on
heavy reduction. No AI; committed straight as a fresh session base
(dimension change = Load-Image semantics, history resets), mirroring 2× Pixel.

New widgets shrink_seq / shrink_scale declared LAST (positional-compat for
old workflows) and added to all wholesale state-reset dicts + the hide list.

Also refreshed the now-stale Large Image Refine tooltip/comment/toast (still
said "chess-pattern boxes" from before the seam fix → "overlapping tiled").

Python + JS parse. Untested on a live model — needs a click in ComfyUI.
2026-06-30 11:36:33 +01:00
..