Skip to content

feat!: allow export outside of the screenshot - #662

Merged
RobertMueller2 merged 1 commit into
Satty-org:mainfrom
robertwidfen:feat/export-crop-outside-image
Oct 6, 2026
Merged

RobertMueller2 merged 1 commit into
Satty-org:mainfrom
robertwidfen:feat/export-crop-outside-image

Conversation

@robertwidfen

@robertwidfen robertwidfen commented Sep 11, 2026 •

Copy link
Copy Markdown
Collaborator

Fixes #339

See also #633, #337

If no crop is defined the exported image will by default include
also annotations outside the of the screenshot. To limit it to
the screenshot crop to the screenshot.

Also wrapping of text to screenshot bounds is removed.

The background of the exported image is transparent so one can put
the saved/copied image on top of another background.

Maybe in the future we can allow to move annotations (images) behind
the screenshot - but for now this is IMHO sufficient.

@robertwidfen

Copy link
Copy Markdown
Collaborator Author

I keep it here for discussion and more testing ...

@RobertMueller2

Copy link
Copy Markdown
Member

This not a testing comment yet. Sounds like a decent solution for now.

This will inevitably lead to background colouring down the road, you read it here first ;)

@robertwidfen
robertwidfen force-pushed the feat/export-crop-outside-image branch 3 times, most recently from a3c4286 to 8302ec8 Compare September 11, 2026 14:41
@robertwidfen

Copy link
Copy Markdown
Collaborator Author

yeah, but I was glad to realize that femtovg exports transparency which I feel as the most natural background and thus a good default.

@robertwidfen
robertwidfen force-pushed the feat/export-crop-outside-image branch from 8302ec8 to dff872f Compare September 11, 2026 17:49
@robertwidfen
robertwidfen force-pushed the feat/export-crop-outside-image branch 10 times, most recently from 0b1e463 to 4939e4c Compare October 5, 2026 21:05
Closes Satty-org#339

If no crop is defined the exported image will by default include
also annotations outside the of the screenshot. To limit it to 
the screenshot crop to the screenshot.

The background of the exported image is transparent so one can put
the saved/copied image on top of another background.

Maybe in the future we can allow to move annotations (images) behind
the screenshot - but for now this is IMHO sufficient.
@robertwidfen
robertwidfen force-pushed the feat/export-crop-outside-image branch from 4939e4c to 52068c5 Compare October 5, 2026 21:33
@robertwidfen robertwidfen changed the title feat: export crop selection outside image feat!: allow export outside of the screenshot Oct 5, 2026
@robertwidfen
robertwidfen marked this pull request as ready for review October 5, 2026 21:38

@RobertMueller2 RobertMueller2 left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm

@RobertMueller2
RobertMueller2 merged commit 316e85b into Satty-org:main Oct 6, 2026
4 checks passed
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.

Feature discussion: determine output canvas size

2 participants