feat(tui): inpainting canvas — Mask state and PNG export #62
No reviewers
Labels
No labels
area:agents
area:ai
area:config
area:dashboard
area:design
area:design-review
area:devtools
area:entities
area:gallery
area:generate
area:image
area:infra
area:meta
area:model-browser
area:navigation
area:presets
area:security
area:sessions
area:settings
area:sharing
area:test
area:ux
area:webhook
area:workdir
type:bug
type:chore
type:meta
type:user-story
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
charles/loom!62
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "tui/inpaint-canvas-23"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Stacks on #61. Closes charles/loom#23.
Reusable
Maskstruct that drives the inpaint canvas overlay. Pixel-addressed grayscale buffer with cursor + brush state,paint(value)circle fill,move_cursorwith edge clamping,adjust_brushclamped[1, 128], andto_png_bytes()returning an 8-bit PNG.Tests (4 new, 74 total)
Out of scope
Full-screen overlay integration with image rendering happens in the glue PR that threads
Box<dyn ImageRenderer>throughAppCtx. Today theMaskstruct is the part the overlay composes on top of.