Skip to main content
Glama

Resize Document

photopea_resize_document

Resize document canvas to new pixel dimensions and rescale all layers. Specify width and height to adjust size. Warning: destructive operation—undo available to revert changes.

Instructions

Resize the active document canvas to new pixel dimensions, resampling all layer content to fit. This is a destructive operation — all layers are scaled proportionally. Use undo to revert if needed.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
widthYesNew document width in pixels
heightYesNew document height in pixels

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/attalla1/photopea-mcp-server'

If you have feedback or need assistance with the MCP directory API, please join our Discord server