Skip to content

feat: add panel and device styles to screenshot - #26

Merged
bombsimon merged 1 commit into
mainfrom
feat/web-screenshot
Oct 9, 2026
Merged

bombsimon merged 1 commit into
mainfrom
feat/web-screenshot

Conversation

@bombsimon

@bombsimon bombsimon commented Oct 9, 2026 •

Copy link
Copy Markdown
Member
  • --style panel draws glowing LEDs in a housing on a transparent background, --style device the 3D mockup cropped to the device
  • Both render through the web page in headless Chrome so they match the live view, Playwright is an optional screenshot extra
  • pixels stays the default

Example new screenshot

matrixbox screenshot \
  /path/to/matrixbox/apps/departures \
  --settings /path/to/some-settings.txt \
  --rename settings.txt \
  -o screenshot.png \
  --style device \
  --after-frames 500 \
  --gamma 5.0 \
  --refresh-fps 1000 
image

- `--style panel` draws glowing LEDs in a housing on a transparent
  background, `--style device` the 3D mockup cropped to the device
- Both render through the web page in headless Chrome so they match
  the live view, Playwright is an optional `screenshot` extra
- `pixels` stays the default
@bombsimon
bombsimon merged commit 5e09ab2 into main Oct 9, 2026
1 check passed
@bombsimon
bombsimon deleted the feat/web-screenshot branch October 9, 2026 22:04
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