You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
refactor: harden color-aa CLI parsing and de-magic charset count
Make --color-aa a typed Option<AaStrength> via FromStr so clap rejects
invalid values with a helpful error instead of silently falling back to
Off; remove the hand-rolled parse-and-ignore paths in resolved_color_aa
and the runner.
Replace the duplicated [AaStrength; 7] literals with a NUM_CHARSETS const
tied to ALL_CHARSETS.len(), so per-charset arrays stay locked to the
charset count.
Drop two provably-dead per-cell bounds checks in the blur hot loop in
favor of a single debug_assert on the width*height invariant.
0 commit comments