Skip to content

Add server-side display snapshot rendering with Pillow#54

Merged
abwagner merged 1 commit intomainfrom
pre-render
Apr 1, 2026
Merged

Add server-side display snapshot rendering with Pillow#54
abwagner merged 1 commit intomainfrom
pre-render

Conversation

@abwagner
Copy link
Copy Markdown
Owner

@abwagner abwagner commented Apr 1, 2026

Generate composited display snapshots (1920x1080 PNG) that faithfully
reproduce what the photo frame shows — mat background, bevel/shadow
effects, crop, scale, textures, and group layouts.

New render_display.py module ports the JS rendering pipeline from
display.html to Pillow. Snapshots are triggered on upload, metadata
save, group create/update/delete, and global settings changes. Includes
a backfill endpoint for existing images.

Co-Authored-By: Claude Opus 4.6 (1M context) noreply@anthropic.com

Summary

Brief description of the changes in this PR.

Changes

Testing

How were these changes tested?

  • Tested on Raspberry Pi
  • Tested in Docker
  • Tested in browser (specify which)

Checklist

  • Code follows the project's style guidelines
  • No new dependencies added without discussion
  • Security considerations reviewed (see SECURITY.md)

Generate composited display snapshots (1920x1080 PNG) that faithfully
reproduce what the photo frame shows — mat background, bevel/shadow
effects, crop, scale, textures, and group layouts.

New render_display.py module ports the JS rendering pipeline from
display.html to Pillow. Snapshots are triggered on upload, metadata
save, group create/update/delete, and global settings changes. Includes
a backfill endpoint for existing images.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@abwagner abwagner merged commit b683195 into main Apr 1, 2026
1 check passed
@abwagner abwagner deleted the pre-render branch April 1, 2026 18:57
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