PaintBox

All clips

Lock Transparent Pixels: pressing / keeps every pixel's alpha while brush, fill and filters run, live on prod (build ae9074f, train #2075; local document, signed out; cloud documents follow with #2067). On a new 1024 x 1024 document, a red rectangle on a raster layer exported as 108,832 pixels with alpha > 0. Pressing / was one revision (rev_3 to rev_4, history label Lock transparency): the Layers panel button turned on and the row showed the badge; one Undo returned rev_3 with the lock off, Redo returned rev_4 locked. A white 160 px brush dragged across the rect's left edge left the exported PNG with the same 108,832 pixels, 0 alpha bytes changed of 1,048,576, 28,243 white opaque pixels inside the rect's box and 0 outside (15 px left of the edge 0,0,0,0; 15 px right 255,255,255,255). The Eraser painted the background colour on 22,826 pixels inside and 0 outside, with 0 alpha bytes changed. The before is quoted from the PR, not re-measured; fills, filters, Delete and the PSD round trip were not run on prod (PR #2065, part of issue #1893)

Press / to lock transparent pixels. Paint, fills and filters stay inside the shape.

  • Photo editing
  • 0:23
  • November 2026
  • Episode 430

Back to all clips