mirror of
https://github.com/storytold/vectorcraft.git
synced 2026-12-05 05:22:58 -05:00
Docs: exportFile names the image files a DXF writes beside it
A DXF of a drawing with placed raster images writes each image it exports beside the drawing as a PNG file, or a JPEG file with rasterFormat JPEG. The exportFile paragraph in docs/mcp.md said it writes one file, with only the SVG companion images as an exception.
This commit is contained in:
1 parent
270ffca6ef
commit
73946a86a8
1 file changed
+3
-2
+3
-2
@@ -3171,8 +3171,9 @@ through `$`:
|
||||
does or where it may read and write, since a command a script runs never shows a dialog. `exportFile` adds the
|
||||
format's extension unless the name already ends with it (`.jpg` or `.jpeg`, `.tif` or `.tiff`, `.dxf`, `.svgz` with
|
||||
`compressed`), and writes one file: the active artboard with `artBoardClipping`, otherwise the bounds of the
|
||||
visible art. An SVG with `embedRasterImages` false also writes the document's embedded images beside it, and
|
||||
when the script's folders refuse one of those files, none of them is written; a write that fails once the
|
||||
visible art. An SVG with `embedRasterImages` false also writes the document's embedded images beside it, and a
|
||||
DXF of a drawing with placed raster images writes each image it exports beside it as a PNG file, or a JPEG
|
||||
file with `rasterFormat` `AutoCADRasterFormat.JPEG`; those files must travel with the DXF. When the script's folders refuse one of those files, none of them is written; a write that fails once the
|
||||
first file is in place leaves the files written before it. A listed option that is not mapped is accepted at its help page's default, and any other value throws
|
||||
an error that says it is not available yet, as does `ExportType.FLASH`. A property the help
|
||||
pages do not list throws an error that names it (`PDFFileOptions` also accepts its read-only `typename` and
|
||||
|
||||
Reference in new issue
Block a user