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
resolutionnumberDocument resolution in DPI (default: 72)
colorModestringRGB | CMYK | GrayscaleColor mode (RGB, CMYK, Grayscale)

Community recipes

Nothing here yet. Be the first to share one.

Share a recipe