mirror of
https://github.com/storytold/vectorcraft.git
synced 2026-10-26 02:37:01 -06:00
A save (document.save, file.saveAs, file.saveCopy) passes its options to the export encoders, so an option an encoder refused was reported under document.export: file.saveCopy with format pdf and range "5" on a document of three artboards, or with format ai and compress "yes", or document.save to a .vectorcraft path with compress "yes", failed with "invalid parameters for `document.export`". The error now names the save command that was run, for PDF, SVG, .ai, .ait and native files. document.export's own errors are unchanged.