Get Document Info
photopea_get_document_infoRead-onlyIdempotent
Get active document dimensions, resolution, layer count, and color mode to verify specs before positioning layers or making selections. Returns JSON metadata for precise image editing control.
Instructions
Get metadata about the active document including name, width, height, resolution (DPI), layer count, and color mode. Returns JSON. Use this to check document dimensions before positioning layers or making selections.
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||