From 3dfbf3cf641395177ea4642274a09b79553b3cbc Mon Sep 17 00:00:00 2001 From: dotCooCoo Date: Mon, 30 Nov 2026 21:29:56 -0800 Subject: [PATCH] Docs: say the .ai-backed PDF trim default applies when no crop box is named --- docs/mcp.md | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/docs/mcp.md b/docs/mcp.md index ccae2a610e..767651d8a6 100644 --- a/docs/mcp.md +++ b/docs/mcp.md @@ -1739,8 +1739,7 @@ unknown label is refused. The `warnings` of the result name the first three such Opening a PDF (or `.ai`) imports every page as an artboard and layer; `document.open` takes `pages` ("2-3, 5", 1-based), `cropTo` (`bounding` (the art's bounds), `art`, `crop` (default), `trim`, `bleed`, `media`: the box each artboard gets; -with `trim` the bleed box round it becomes the document's bleed and the artboards are 36 pt apart plus that bleed on both sides, and a PDF-compatible file whose first PDF page's `PieceInfo` holds a key, in `PieceInfo` itself or in a dictionary nested in it up to four dictionaries deep counting `PieceInfo`, that starts with `AIPrivateData` or `AIPDFPrivateData` opens on its trim boxes for -`crop`; when its pages are imported as editable art instead of from an editing copy (for example with a `pages` range or `editingData: false`), the default still gives the +with `trim` the bleed box round it becomes the document's bleed and the artboards are 36 pt apart plus that bleed on both sides, and a PDF-compatible file whose first PDF page's `PieceInfo` holds a key, in `PieceInfo` itself or in a dictionary nested in it up to four dictionaries deep counting `PieceInfo`, that starts with `AIPrivateData` or `AIPDFPrivateData` opens on its trim boxes when `cropTo` and `crop` are omitted; when its pages are imported as editable art instead of from an editing copy (for example with a `pages` range or `editingData: false`), the default still gives the trim boxes, and a `crop` the caller names (`cropTo: "crop"`, or its alias `crop: "crop"`) gives its crop boxes, which take in whatever part of the bleed the file's crop box covers: all of it, part of it or none, depending on where the crop box and the bleed lie) and `password` for an encrypted file. For a `.ai` file with an intact Preserve Editing copy, `document.open` with only `cropTo: "crop"` restores the embedded document. `document.pdfInfo` reads a file without opening it: the page count, each page's size and boxes, `needsPassword`, and with `thumbnail: n` a PNG of page n. It reads a PostScript file (an EPS, a `.ps` file, a `.ai` in PostScript form) as one page the size of its bounding box (a US Letter page without one), with an