diff --git a/docs/mcp.md b/docs/mcp.md index ca86c160c9..c62612479a 100644 --- a/docs/mcp.md +++ b/docs/mcp.md @@ -10955,7 +10955,7 @@ are written as lowercase `#rrggbb`. A `#rrggbbaa` spelling names no table color. right, with the lock mark, and Lock stays on until the color is unshifted. Web Shift replaces a shift by hand, and Unshift All Colors in the table's menu clears `shifted` and `webShift`. Only Web Colors in the picker starts off. -Save Color Table… in the table's menu is `document.exportForWeb.saveColorTable {path?, slice?, …settings}`. It writes +Save Color Table is `document.exportForWeb.saveColorTable {path?, slice?, …settings}`. It writes the GIF or PNG-8 color table the preview shows as a color table file (`.act`) in the layout the file format specification gives (https://www.adobe.com/devnet-apps/photoshop/fileformatashtml/): 256 entries of three bytes (red, green, blue) in file order, with zero bytes after the colors used, then the number of colors used and the index of the @@ -10965,7 +10965,7 @@ the file holds the whole image's table, also when `slices` is `selected` and no up among the slices `slices` names. `.act` is added to a `path` without an extension, and without `path` the file comes back as `dataBase64`. The reply is `{path, colors, transparentIndex, bytes, warnings}` (`transparentIndex` is null when there is none). JPEG and PNG-24 are errors, and the -document and the settings do not change. Load Color Table… is `webExport.loadColorTable {path | dataBase64, +document and the settings do not change. Load Color Table is `webExport.loadColorTable {path | dataBase64, …settings}`. It reads a 768-byte file (256 colors, no transparent entry) or a 772-byte one (the number of colors used, 1 to 256, and the transparent entry's index; an index past the colors used names no entry) and returns `{colors, transparentIndex, settings}`: the settings with the file's colors other than its transparent entry as @@ -10974,10 +10974,8 @@ document and the settings do not change. Load Color Table… is `webExport.loadC color is written as it is, in the file's order, and none is locked. A file whose only color is its transparent entry loads that color. Another file size (base64 text included), a count of 0 or above 256, both or neither of `path` and `dataBase64`, and JPEG or PNG-24 are errors; the command reads at most 773 bytes of a file and -remembers nothing. In -the dialog Load Color Table… puts the loaded settings into its fields (`__loadColorTable: true`), and Save Color Table… -writes the file picked in a save panel (`__saveColorTable: true`), or downloads it on the web, where Load Color Table… -is disabled. The help page describes both entries +remembers nothing. The Save for Web dialog's color table menu does not list Save Color Table… or Load Color +Table… yet; both commands run through the engine and MCP. The help page describes both entries (https://help.adobe.com/archive/en_US/illustrator/cs4/illustrator_cs4_help.pdf#page=404). ```json diff --git a/docs/target-app-parity.md b/docs/target-app-parity.md index cdeae6c612..746b1aa1ac 100644 --- a/docs/target-app-parity.md +++ b/docs/target-app-parity.md @@ -1015,7 +1015,7 @@ Moved from the ROADMAP's "Shipped so far" on 2026-10-10. Update it when a featur - Save for Web: while Alt (Option on macOS) is held, the dialog's Cancel button reads Reset, which puts the remembered settings back on the document's active artboard and leaves the dialog open (`ui.dialogReset`). - Save for Web: the color table's trash button and Delete Color in its menu remove the selected GIF or PNG-8 colors, and their pixels take the nearest color left in the palette ([the help page](https://help.adobe.com/archive/en_US/illustrator/cs4/illustrator_cs4_help.pdf#page=404)). Click selects one color, Shift-click a range and Ctrl-click (Command-click on macOS) adds or removes one ([the help page](https://help.adobe.com/archive/en_US/illustrator/cs3/illustrator_cs3_help.pdf#page=398)). After the first deletion the table is a fixed Custom palette, so deleted colors stay out when the preview updates. These rules are VectorCraft's own: a deleted color is no longer locked, transparent or web-shifted; deleting every opaque color is refused; Restore Generated Table in the menu, or another reduction, goes back to the generated palette; presets and the remembered settings keep the edit (`colorTable.deleted`, `colorTable.customPalette`). Fixed palettes can also use all 256 entries when nothing is transparent. Scores and estimates are unchanged. - Save for Web: double-clicking a GIF or PNG-8 color-table swatch opens the Color Picker, and its OK changes that color to the one picked everywhere it appears in the image. The swatch then shows the original color in its upper-left half and the new one in its lower-right half, with the lock mark, and the color stays through a lower color count. Double-clicking a changed swatch opens the picker on the original color, and OK on it changes the color back; Unshift All Colors in the table's menu undoes every change, web shifts included ([the help page](https://help.adobe.com/archive/en_US/illustrator/cs3/illustrator_cs3_help.pdf#page=398)). These rules are VectorCraft's own: Cancel changes nothing; a changed color wins over Web Shift, Web Snap and Lock, and pressing Web Shift replaces it; a color mapped to transparent stays transparent; two colors may change to the same color; a changed color takes a kept palette slot before a locked one, and one slot always stays for the reduction; the change is kept by source color when the reduction changes and applies only while that source is in the table; presets and the remembered settings keep it; the picker opens with Only Web Colors off (`colorTable.shifted`). GIF lossy compression moves no pixel into or out of a changed color. Scores and estimates are unchanged. - - Save for Web: Save Color Table… in the color table's menu writes the GIF or PNG-8 table the preview shows to an `.act` file, and Load Color Table… reads one back as the table's fixed Custom palette, so the image is written with the loaded colors; reloaded colors come back as plain, unlocked entries ([the help page](https://help.adobe.com/archive/en_US/illustrator/cs4/illustrator_cs4_help.pdf#page=404)). The file follows the published color table layout (https://www.adobe.com/devnet-apps/photoshop/fileformatashtml/): 256 RGB entries in file order, then the number of colors and the transparent entry. These rules are VectorCraft's own: Save always writes the 772-byte form, with zero bytes after the colors used and 65535 when there is no transparent entry; Load takes the 768-byte and 772-byte forms, leaves the transparent entry out of the palette, sets Colors to the file's count, clears the table's other edits and its sort, and sets Web Snap to 0; Load reads only `.act` files and is disabled on the web (`document.exportForWeb.saveColorTable`, `webExport.loadColorTable`). Scores and estimates are unchanged. + - Save for Web: the Save Color Table command writes the GIF or PNG-8 table the preview shows to an `.act` file, and the Load Color Table command reads one back as the table's fixed Custom palette, so the image is written with the loaded colors; reloaded colors come back as plain, unlocked entries ([the help page](https://help.adobe.com/archive/en_US/illustrator/cs4/illustrator_cs4_help.pdf#page=404)). Both run through the engine and MCP; the dialog's color table menu does not list them yet. The file follows the published color table layout (https://www.adobe.com/devnet-apps/photoshop/fileformatashtml/): 256 RGB entries in file order, then the number of colors and the transparent entry. These rules are VectorCraft's own: Save always writes the 772-byte form, with zero bytes after the colors used and 65535 when there is no transparent entry; Load takes the 768-byte and 772-byte forms, leaves the transparent entry out of the palette, sets Colors to the file's count, clears the table's other edits and its sort, and sets Web Snap to 0 (`document.exportForWeb.saveColorTable`, `webExport.loadColorTable`). Scores and estimates are unchanged. - Export for Screens, Save for Web (slice images, and files named after the document's title) and the Libraries panel name files with the characters Windows does not allow written as `-` and with a `-` after a Windows device name such as `CON`, on every platform (`document.exportForScreens`, `document.exportForWeb`, `library.create`). - Variables (data merge): text, visibility and image variables bound to objects (an object may carry several), dataset rows applied in one undo step (`variable.*`, `dataset.*`) from a Variables panel and Window › Variables, with dialogs to define, bind and edit, Make Text/Visibility/Image Dynamic, Capture/Update Data Set, CSV import/export (`dataset.import` / `dataset.export`), and a row in italics when an edit leaves the art not matching it; an image dataset value is a file path and apply keeps the object's bounds; bindings let go of deleted art and locked art is left alone except by visibility values; every command, like the rest, is drivable over MCP and the CLI. - Export for Screens numbers distinct row files whose names collide, compared without case, as `-2`, `-3`… instead of leaving them out; identical rows still write one file. It puts row folders that differ only in case into one folder (`document.exportForScreens`).