mirror of
https://github.com/storytold/photocraft.git
synced 2026-12-02 06:20:48 +01: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 <[email protected]> Claude-Session: https://claude.ai/code/session_01FszacAJDjznVimaxQktoJT