- Remove unused compatibility operations and use focused Pillow and NumPy paths to reduce maintained fallback code. - Preserve numerical decisions and hot-path performance with exact regression coverage and bounded algorithms. - Preserve INTER_LINEAR uint8 reductions within one LSB while retaining the resize performance budget and numeric RGBA handling. - Restore repeated-endpoint contour anchors and bound cross-platform chamfer coefficient drift in regression tests. --------- Co-authored-by: Codex <codex@openai.com> Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>