Resize Document
photopea_resize_documentResize the active document canvas to new width and height in pixels, scaling all layers proportionally. Use undo to revert the destructive change.
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
| Name | Required | Description | Default |
|---|---|---|---|
| width | Yes | New document width in pixels | |
| height | Yes | New document height in pixels |