@svgsketch/cli 0.5.0 → 0.6.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +3 -1
- package/dist/index.js +90 -81
- package/package.json +5 -5
package/README.md
CHANGED
|
@@ -57,13 +57,15 @@ Raster images are rejected, and `import` rejects `.svgs` input because it is alr
|
|
|
57
57
|
An Illustrator file saved with "Create PDF Compatible File" carries a PDF rendition and its private Illustrator source.
|
|
58
58
|
The rendition provides the appearance and the source provides artboard names, layer names, lock state and hidden state.
|
|
59
59
|
Plain PDF files import their pages as artboards and their optional-content groups as layers.
|
|
60
|
-
A file saved without PDF content, or a PostScript-era `.ai` or `.eps` file, is refused with a message that says how to save it again.
|
|
60
|
+
A file saved without PDF content, or a PostScript-era `.ai` or `.eps` file, opens from its Illustrator source; one whose source cannot be read is refused with a message that says how to save it again.
|
|
61
|
+
An encrypted file opens with `--password`, or without it when its password only guards permissions; it imports from its PDF rendition alone.
|
|
61
62
|
|
|
62
63
|
| Option | Meaning |
|
|
63
64
|
| -------------------------------- | -------------------------------------------------------------------------------------------------------------------------------- |
|
|
64
65
|
| `--artboards <1,3\|all>` | Artboards (pages) to import, 1-based. Default `all`. Several artboards become one document with a `<view>` per artboard. |
|
|
65
66
|
| `--text <editable\|outline>` | Keep text editable (default) or convert every glyph to outlines. |
|
|
66
67
|
| `--hidden-layers <import\|skip>` | Import hidden layers as hidden (default) or leave them out. |
|
|
68
|
+
| `--password <password>` | The password that opens an encrypted file. A file whose password only guards permissions needs none. |
|
|
67
69
|
| `--report <file.json>` | Write the import report: what was preserved, approximated, rasterized or dropped, the fonts the document needs, and the timings. |
|
|
68
70
|
|
|
69
71
|
Transcoder diagnostics print to stderr as `severity: pdf:code: message` and `severity: illustrator:code: message` lines beside the ingest diagnostics.
|