Skip to content

fix(render): allow resolution scaling for alpha output - #3634

Merged
miguel-heygen merged 1 commit into
mainfrom
fix/alpha-output-resolution-rejected
Sep 4, 2026
Merged

miguel-heygen merged 1 commit into
mainfrom
fix/alpha-output-resolution-rejected

Conversation

@miguel-heygen

Copy link
Copy Markdown
Collaborator

What

Alpha WebM, MOV, and PNG-sequence renders can now use --resolution supersampling when the requested scale is compatible with the composition.

Why

The alpha capture path already applies deviceScaleFactor through the CDP screenshot clip. A stale shared validator still rejected every alpha and output-resolution combination, forcing callers to stage and downscale frames outside HyperFrames.

How

Remove the obsolete alpha incompatibility gate while preserving the existing HDR, aspect-ratio, downsampling, and integer-scale checks. Update parser, CLI preflight, and producer regression expectations to cover the supported alpha path.

Test plan

  • Unit tests added/updated: bun test packages/parsers/src/outputResolutionCompatibility.test.ts (12 passed, 0 failed)
  • Manual testing performed
  • Documentation updated (not applicable)

The full workspace suites could not start locally because the frozen dependency install omitted published dist/ payloads for several packages, including Vitest, oxlint, acorn, and pretext. git diff --check and a direct Bun bundle of the changed validator passed.

@miguel-heygen
miguel-heygen merged commit e0007b8 into main Sep 4, 2026
56 checks passed
@miguel-heygen
miguel-heygen deleted the fix/alpha-output-resolution-rejected branch September 4, 2026 14:28
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