Skip to content

Land #574 (fix #526: the exports and the CLI write .ai as Save As does) - #576

Merged
bflatastic merged 2 commits into
mainfrom
pr/land-batch8
Oct 8, 2026
Merged

bflatastic merged 2 commits into
mainfrom
pr/land-batch8

Conversation

@bflatastic

Copy link
Copy Markdown
Member

Lands #574, keeping its original commit; the ROADMAP conflict is resolved in the merge.

Checks

  • Merged onto origin/main 207bd09.
  • cargo xtask ci on this exact tree: all 7 steps passed.
  • Live via vectorcraft-cli:
    • --help lists .ai under Writable formats.
    • run --cmd file.new --cmd shape.ellipse … --export t2.ai writes format: ai, and info reads it back.
    • convert in.svg out.ai writes a %PDF-1.7 file that reopens with its art.

🤖 Generated with Claude Code

bflatastic and others added 2 commits October 9, 2026 03:18
file.saveAs and document.save wrote a PDF-compatible .ai, but
document.export (and with it the CLI's run --export x.ai and convert
in.svg out.ai, and MCP's export) refused it as a format that can only be
opened, and --help didn't list it as writable.

The .ai encoder is now shared: save.rs's ai_params and encode_ai (a PDF
of every artboard with the PDF options, carrying the native document,
blank pages with pdfCompatible: false) serve Save As and the exports
alike. The .ai format is writable, so document.formats, --help and the
MCP export tool list it; an export leaves the document's own path alone.
Export As and Export for Screens keep leaving .ai to Save As.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@bflatastic
bflatastic merged commit 28846a9 into main Oct 8, 2026
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