atomicDocuments
photoshop_create_document
Create a new empty Photoshop document with specified dimensions and color mode. Use when: starting a design from scratch or no document is open. Do NOT use when: opening an existing file — use photoshop_open_image. Returns: created document id and name. Preconditions: none. Side effects: creates a new document and makes it active.
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
| width | number | yes | Document width in pixels |
| height | number | yes | Document height in pixels |
| resolution | number | — | Document resolution in DPI (default: 72) |
| colorMode | stringRGB | CMYK | Grayscale | — | Color mode (RGB, CMYK, Grayscale) |
Topluluk tarifleri
Henüz bir şey yok. İlk paylaşan siz olun.
Tarif paylaş