Skip to content

Add save_render with graphical render manifest - #294

Open
gpeairs wants to merge 2 commits into
mainfrom
gp/save-render-manifest
Open

Add save_render with graphical render manifest#294
gpeairs wants to merge 2 commits into
mainfrom
gp/save-render-manifest

Conversation

@gpeairs

@gpeairs gpeairs commented Aug 26, 2026

Copy link
Copy Markdown
Member

Follow-up to #283 for saving machine-readable metadata alongside graphical output. Still thinking about this, maybe it can be simplified.

save_render writes a PNG, SVG, PDF, or EPS image together with a versioned JSON manifest containing the exact viewport-to-canvas transform, selected output metadata, resolved colors, rendering options, and image SHA-256. An overload for a CoordinateSystem and LayoutTarget records per-call semantic-to-GDS mappings without serializing the target's mutable mapping cache.

@codecov

codecov Bot commented Aug 26, 2026

Copy link
Copy Markdown

Codecov Report

❌ Patch coverage is 95.65217% with 8 lines in your changes missing coverage. Please review.

Files with missing lines Patch % Lines
src/backends/graphics.jl 95.29% 8 Missing ⚠️

📢 Thoughts on this report? Let us know!

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