Skip to content

feat: add optional logical-size screenshot exports - #124

Open
tusharmalpani20 wants to merge 9 commits into
omacom:mainfrom
tusharmalpani20:feat/logical-size-export
Open

tusharmalpani20 wants to merge 9 commits into
omacom:mainfrom
tusharmalpani20:feat/logical-size-export

Conversation

@tusharmalpani20

@tusharmalpani20 tusharmalpani20 commented Sep 12, 2026 •

Copy link
Copy Markdown
Contributor

Screenshots captured on scaled displays can appear larger than intended when shared.

Add the optional [output] logical_size = true setting. When enabled, resize finished Copy and Save output using the original capture scale after annotations and redaction have been rendered.

Keep native-resolution working images, previews, pins, and OCR input. Persist the original scale so reopened captures export consistently, including fractional scaling and odd image dimensions. Native-resolution output remains the default.

Copying or dragging from a pin continues to use its native-resolution image.

Validation:

  • Full headless smoke suite and affected clang-tidy checks passed.
  • Covered 1x, 1.5x, and 2x scaling, odd dimensions, annotations, redaction, clipboard output, and reopened documents.

Fixes #119.

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.

Idea: Downscale output to logical size on scaled monitors

1 participant