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

NameTypeRequiredDescription
widthnumberyesDocument width in pixels
heightnumberyesDocument height in pixels
resolutionnumber—Document resolution in DPI (default: 72)
colorModestringRGB | CMYK | Grayscale—Color mode (RGB, CMYK, Grayscale)

Topluluk tarifleri

Henüz bir şey yok. İlk paylaşan siz olun.

Tarif paylaş