Skip to content

Match cut-out preview outlines to PNG export - #4

Merged
Awetspoon merged 2 commits into
mainfrom
fix/preview-outline-parity
Dec 3, 2026
Merged

Awetspoon merged 2 commits into
mainfrom
fix/preview-outline-parity

Conversation

@Awetspoon

Copy link
Copy Markdown
Owner

The Inspector and PNG export now share the masked renderer and outline width rule. A normal preview no longer draws the unmasked image or makes a second bitmap copy; split view still shows the original beside the cut-out.

Windows validation: 55/55 regression checks passed, including a new check for both outline colours in normal and split previews. A synthetic cut-out exported at 1416 × 716 with the expected transparency and no differing pixels between the normal preview and PNG at the same size. One local 24 MP fixture improved from 198 ms to 154 ms median for the normal preview (seven measured runs per version).

@Awetspoon
Awetspoon merged commit b147a2d into main Dec 3, 2026
1 check 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.

1 participant