mirror of
https://github.com/storytold/deckcraft.git
synced 2026-10-27 12:07:02 -06:00
Pictures: Remove Background with a classical matte
The Picture Format > Remove Background button was a disabled placeholder. picture.removeBackground now flood-fills from every edge pixel through similar colours: each step must be close to the pixel before it (so gradients and soft shadows follow) and to the edge colour it started from (so it can't leak into the subject). That region turns transparent with a one-pixel soft edge, and the picture points at a new PNG; undo brings the original back. Tolerance 0-100 (default 20); the ribbon offers normal, looser and tighter. Pictures whose edges are all subject are left alone, and pictures over 16 megapixels are refused. Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
+1
-2
@@ -185,8 +185,7 @@ Detail in [animation-parity.md](animation-parity.md). 10–16 h; the pane is a *
|
||||
|
||||
### Smaller missing rows
|
||||
Zoom (summary/section/slide, 6–10 h), reuse slides (2–4 h), laser pointer (1–2 h), transition
|
||||
sounds (1–2 h), artistic effects (6–10 h), remove background (6–10 h; needs a model or a classical
|
||||
matte), compress pictures (2–3 h), insert screenshot (2–3 h), record audio/screen and record slide
|
||||
sounds (1–2 h), artistic effects (6–10 h), compress pictures (2–3 h), insert screenshot (2–3 h), record audio/screen and record slide
|
||||
show (8–12 h), compare presentations (6–10 h), password protection (4–6 h, ECMA-376 agile
|
||||
encryption), ink to shape/text (6–10 h), icons and 3-D models (8–14 h, needs an open icon set).
|
||||
|
||||
|
||||
Reference in New Issue
Block a user