mirror of
https://github.com/storytold/photocraft.git
synced 2026-10-24 09:57:08 -06:00
refine_mask_with builds its result densely over the selection's bounds (grown by the spread, plus Refine Edge Brush additions). After a thin edit across a huge canvas, or with a whole-canvas selection there, that is billions of pixels. matting::refine_area names that area and select.refineEdge refuses one over MAX_REFINE_AREA (2^30 px) with an error before allocating, leaving the selection unchanged. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01FszacAJDjznVimaxQktoJT