Files
vectorcraft/crates
dotCooCoo b8279befba Save As .ai: write the editing data's header, palette and layers in the full layout
The editing data now has the layout of the .ai files it was learned from:

- Lines end in CR LF. Line breaks inside strings stay escaped.
- The header adds %%For (the document's author), %%Canvassize 16383,
  %AI7_ImageSettings, %AI5_ArtFlags, %AI5_TargetResolution,
  %AI5_OpenViewLayers (a digit for each layer, 7 shown and 6 hidden) and
  %AI7_GridSettings (the document's grid spacing and subdivisions), in the
  order those files have them.
- The setup starts with 0 Bn (no gradient definitions).
- The palette starts with the Registration swatch: Xs in a CMYK document,
  Xz with black's CMYK equivalent in an RGB one. Reading the file back does
  not add a swatch for it.
- Each layer and sublayer carries its name as an XML id in an /ArtDictionary
  after Ln. An object named like a layer gets a numbered id.
- The LastModified dates of the PieceInfo dictionaries end in +00'00'.
2026-10-28 17:45:42 -07:00
..