A selection becomes the smart filter's mask
Smart filter under a selection: 0 px change outside it. Mask off, delete, PSD round trip.
- Photo editing
- 1:06
- Episode 568
Related clips
- Paint the smart filter's maskPaint a smart filter's mask: Brush grows it, Eraser takes it back, Undo restores it.
- Undo keeps the selection after Image SizeUndo and Redo of Image Size keep your selection. Invert mask reads as one History line.
- Edit Contents and live preview move the selection over its bounds only, live on prod (build d009eaa; PR #2113, issue #2104). Before, each handed it over as a full-canvas mask PNG: the PR measured 808 ms to open Edit Contents on an 8000x8000 canvas with a 101x100 marquee. On prod, 6 runs gave a median of 99 ms (range 83 to 274 ms); switching back took 283 ms.Edit Contents opens in 99 ms on an 8000x8000 canvas: only the selection's bounds move.
- Cloud documents now take stroke_selection with target mask and set_grid_settings, live on prod (build 0cd0ec0c, train #2059; API run over /api/mcp on a throwaway cloud document). On a 240 x 160 solid raster with a Reveal All mask, stroke_selection (width 6, centred, black, target mask) over a 120 x 80 rect took (60,80) from 40,110,200,255 to 0,0,0,0: 2,380 pixels hidden, the other 36,000 pixels outside the band and inside the rect unchanged. After clear_mask the export was byte-identical to the source. set_grid_settings (32 px, 2 subdivisions, dashed) ran as a ready job at rev_7 and read back from the document graph, not refused. The before (422 not_yet_supported on both) is quoted from the PRs, not re-run (PR #2038, issue #2026; PR #2031, issue #1974)Cloud docs now stroke a selection onto a layer mask and save Grid Settings.