Skip to content

Fix README visual export sizing - #91

Merged
Coding-Dev-Tools merged 1 commit into
mainfrom
codex/fix-readme-image-sizing
Jul 30, 2026
Merged

Fix README visual export sizing#91
Coding-Dev-Tools merged 1 commit into
mainfrom
codex/fix-readme-image-sizing

Conversation

@Coding-Dev-Tools

Copy link
Copy Markdown
Owner

What changed

  • rebuilds the three README PNG visuals to match their SVG viewbox dimensions
  • removes the black screenshot padding that made the diagrams render as small cards inside oversized canvases
  • adds a regression test that checks each PNG canvas matches its paired SVG

Why

The previous screenshot export process cropped at twice the intended canvas dimensions. The unused image area rendered black in GitHub's README, making every new visual look broken.

Validation

  • python -m pytest tests/test_benchmark_evidence.py -q
  • ruff check tests/test_benchmark_evidence.py
  • visual review of all three corrected PNGs

@Coding-Dev-Tools
Coding-Dev-Tools marked this pull request as ready for review July 30, 2026 13:18
@Coding-Dev-Tools
Coding-Dev-Tools merged commit fe3850a into main Jul 30, 2026
11 checks passed
@Coding-Dev-Tools
Coding-Dev-Tools deleted the codex/fix-readme-image-sizing branch July 30, 2026 15:58
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