Skip to content

[AdvancedPaste] Add "Paste as .jpg file" action with configurable JPEG quality - #50081

Open
Orion (OrionFOTL) wants to merge 1 commit into
microsoft:mainfrom
OrionFOTL:feat/paste-as-jpg
Open

[AdvancedPaste] Add "Paste as .jpg file" action with configurable JPEG quality#50081
Orion (OrionFOTL) wants to merge 1 commit into
microsoft:mainfrom
OrionFOTL:feat/paste-as-jpg

Conversation

@OrionFOTL

@OrionFOTL Orion (OrionFOTL) commented Aug 23, 2026

Copy link
Copy Markdown

Summary of the Pull Request

Adds a "Paste as .jpg" option to Advanced Paste, in cases of copying a large image (like a 4000x3000 photo or larger) and pasting it into various apps with size limits; in such cases it is more sensible (or required by size requirements) to paste it as an efficient jpg instead of a png.

Includes a jpg quality setting.

obraz obraz

PR Checklist

Validation Steps Performed

Manually launched PowerToys, copied a large 4000x3000 photo from the internet, then pasted it as png (resulting in 13 MB), then pasted it as jpg (resulting in 986 kB) ✅

…G quality

Adds a new additional action to Advanced Paste that pastes clipboard
image content as a .jpg file, alongside the existing .png option.
The JPEG encoding quality (1-100, default 90) is configurable via a
slider in the Advanced Paste settings page.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
@azure-pipelines

Copy link
Copy Markdown
Azure Pipelines:
There may be pipelines that require an authorized user to comment /azp run to run.

@github-actions

Copy link
Copy Markdown

Thank you for contributing to PowerToys. We've detected that this PR might include a new or modified telemetry event. Please ensure the following before merging:

@OrionFOTL

Copy link
Copy Markdown
Author

@microsoft-github-policy-service agree

@MuyuanMS Muyuan Li (MuyuanMS) left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Thanks for the Advanced Paste JPEG action and the clear validation details. One telemetry-process follow-up remains before merge: please complete the repository telemetry documentation/process requested by the automated check.

Complete the telemetry-process follow-up

Severity: medium

The PR adds telemetry for the new Advanced Paste action, and the automated telemetry check asks for the event to be documented in DATA_AND_PRIVACY.md and for the telemetry process to be followed with the designated owner. Please complete those steps (or confirm they are already handled) before merge so the new event remains documented and reviewed.

@MuyuanMS Muyuan Li (MuyuanMS) self-assigned this Sep 1, 2026
@OrionFOTL

Copy link
Copy Markdown
Author

Thanks Muyuan Li (@MuyuanMS), for the update. The PR doesn't add any new telemetry events, so we're good on that. DATA_AND_PRIVACY.md stays up to date.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add support for “Paste as .jpg file” in Advanced Paste

2 participants