Expand description
Rust file encoders. No upstream scripts or runtime are embedded.
Structs§
- Export
File - A complete file, passed to an application-owned save/download sink.
- Image
Options - Capture and raster settings. Dimensions are measured from the live view.
Enums§
- Image
Format - Raster output encoding.
Functions§
- capture_
svg - Capture actual HTML layout into a self-contained SVG foreignObject image. Full canvas is exported; viewport pan and zoom are removed, editing and selection affordances are omitted. Loaded custom fonts are embedded.
- rasterize
- Rasterize the captured SVG with the browser’s native image/canvas codec. Detects unsupported codecs instead of returning PNG bytes with a WebP suffix.
- static_
html - Wrap a captured standalone SVG in a static, offline HTML document. No editor or scripts are included. SVG must come from a trusted capture source.
- xmind
- Encode a Zen/modern XMind ZIP with content.json, metadata.json and manifest.json. Exports the entire plain-text tree, including collapsed descendants. Arbitrary Mind Elixir metadata and CSS are not XMind fields and are not converted.