vectorcraft/crates/engine/src/cmd/fileio
bflatastic 950a941003 M4.33: Export As with Use Artboards (All or a range) and art bounds
File > Export > Export As... (file.exportAs) picks any writable format and Use Artboards: All
or a range writes one file per artboard, <file>-<artboard>.<ext> (a PDF keeps them as pages);
off, the export covers the bounds of the visible art (an artless document is refused before the
save dialog). The format's options dialog follows: PNG/JPEG/WebP Options, SVG Options, or Save
PDF for artboards as pages. document.export takes useArtboards for raster formats (true: one
file per chosen artboard, default all) and PDF (false: the art's bounds), and the app's exports
return every file written and the encoder's warnings.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-05 09:14:42 +07:00
..
batch.rs M4.12: one loader and encoder for every frontend — engine fileio (load/encode/export/save, append-only FORMATS table, OPEN_EXTS, document.formats query, typed per-format options, parse_range); document.open reads native/legacy, SVG/SVGZ, PDF/.ai, .ait (opens untitled like native templates) and PNG/JPEG/GIF/WebP/TIFF/BMP; desktop, web, control channel, headless MCP and the CLI open and encode through it; open dialogs list "All readable files" plus one filter per format 2026-10-04 11:36:51 +07:00
encode.rs M4.33: Export As with Use Artboards (All or a range) and art bounds 2026-10-05 09:14:42 +07:00
export.rs M4.33: Export As with Use Artboards (All or a range) and art bounds 2026-10-05 09:14:42 +07:00
load.rs M4.40: Preserve Editing SVGs reopen exactly, or as plain SVG once edited elsewhere 2026-10-05 09:03:52 +07:00
mod.rs M4.33: Export As with Use Artboards (All or a range) and art bounds 2026-10-05 09:14:42 +07:00
pdf.rs M4.33: Export As with Use Artboards (All or a range) and art bounds 2026-10-05 09:14:42 +07:00
ppi.rs M4.34: raster export options and PNG Options — resolution, background, anti-aliasing, interlacing 2026-10-05 09:14:11 +07:00
save.rs M4.39: SVG symbols as <symbol>/<use>, hidden layers on Save, Dublin Core metadata 2026-10-05 09:03:52 +07:00
svg.rs M4.39: SVG symbols as <symbol>/<use>, hidden layers on Save, Dublin Core metadata 2026-10-05 09:03:52 +07:00
tests.rs M4.30: SVGZ read and write 2026-10-05 07:58:10 +07:00
tests_exportas.rs M4.33: Export As with Use Artboards (All or a range) and art bounds 2026-10-05 09:14:42 +07:00
tests_pdf.rs M4.32: PDF warnings, Summary section, View PDF after Saving and status text 2026-10-05 07:22:27 +07:00
tests_raster.rs M4.34: raster export options and PNG Options — resolution, background, anti-aliasing, interlacing 2026-10-05 09:14:11 +07:00
tests_svg.rs M4.39: SVG symbols as <symbol>/<use>, hidden layers on Save, Dublin Core metadata 2026-10-05 09:03:52 +07:00
tests_svgedit.rs M4.40: Preserve Editing SVGs reopen exactly, or as plain SVG once edited elsewhere 2026-10-05 09:03:52 +07:00