Skip to content

feat: copy screen(s) as PNG image to clipboard#34

Merged
trmquang93 merged 1 commit intomainfrom
feat/copy-screen-as-image
Apr 13, 2026
Merged

feat: copy screen(s) as PNG image to clipboard#34
trmquang93 merged 1 commit intomainfrom
feat/copy-screen-as-image

Conversation

@trmquang93
Copy link
Copy Markdown
Collaborator

Summary

  • Add "Copy as Image" context menu option for single or multi-selected screens
  • Renders screen content (raster, SVG, or wireframe) to a PNG and copies to system clipboard via Clipboard API
  • Multi-screen selections are composited into a single image preserving relative canvas positions, with a 16384px safety cap

Test plan

  • Right-click a single screen -> "Copy as Image" -> paste into any app to verify PNG
  • Multi-select screens -> right-click -> "Copy as Image" -> verify composite image preserves layout
  • Test with SVG content, wireframe content, and raster image screens
  • Test with a screen that has no image content -> should show "No image content to copy" toast

Add "Copy as Image" option to the screen context menu that renders
one or more selected screens to a PNG and writes it to the system
clipboard via the Clipboard API. Multi-screen selections are composited
into a single image preserving their relative canvas positions.
@trmquang93 trmquang93 merged commit d64cb34 into main Apr 13, 2026
1 check passed
@trmquang93 trmquang93 deleted the feat/copy-screen-as-image branch April 13, 2026 14:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant