Skip to content

feat: render v6 page images and serve source PDFs for download - #478

Open
AaronC-585 wants to merge 6 commits into
ddvk:masterfrom
AaronC-585:pr/14-v6-images-pdf-export
Open

AaronC-585 wants to merge 6 commits into
ddvk:masterfrom
AaronC-585:pr/14-v6-images-pdf-export

Conversation

@AaronC-585

Copy link
Copy Markdown

Summary

  • Parse reMarkable v6 image blocks via vendored rmc/rmscene and stage sibling PNG blobs for page render
  • Prefer SVG→PNG for pages that embed images
  • Serve the original PDF for ?type=pdf instead of failing rmapi annotation bake on v6 ink

Test plan

  • Notebook page with an inserted image renders the image in page PNG/SVG
  • PDF document download (?type=pdf) returns application/pdf without 500
  • go test ./internal/rmdecode/ ./internal/pdfraster/ ./internal/storage/... ./internal/ui/

Made with Cursor

Aaron C and others added 6 commits September 8, 2026 22:40
Add optional WebAuthn passkeys for the web UI (register, login, manage), gated by RMFAKECLOUD_WEBAUTHN.

Co-authored-by: Cursor <cursoragent@cursor.com>
Add admin Theme Studio and per-user theme picker; connect gauge/prompt/font prefs;
chrome styles (flat, folders, outlines, tabbed); mobile layout from client HTTP headers.

Co-authored-by: Cursor <cursoragent@cursor.com>
Serve the web UI from embedded XML/XSLT and drop the Vite app. Documents
browse like the tablet library, and notebook thumbnails use the Go .rm
renderer on each file's last-opened page.

Co-authored-by: Cursor <cursoragent@cursor.com>
Co-authored-by: Cursor <cursoragent@cursor.com>
Compress responses when clients accept gzip; decompress gzip/deflate/zlib request bodies.

Co-authored-by: Cursor <cursoragent@cursor.com>
Parse RM v6 image blocks via vendored rmc/rmscene, stage sibling PNG blobs,
prefer SVG→PNG for pages with images, and return the original PDF for
?type=pdf instead of failing rmapi annotation bake on v6 ink.

Co-authored-by: Cursor <cursoragent@cursor.com>
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