Image tools

/image crop

Crop a rectangle from an image; outputs PNG.

Development command reference

Options

attachmentRequiredAttachment

Still image

xRequiredInteger

Pixels from the left edge

Minimum: 0. Maximum: 8191.

yRequiredInteger

Pixels from the top edge

Minimum: 0. Maximum: 8191.

widthRequiredInteger

Crop width

Minimum: 1. Maximum: 8192.

heightRequiredInteger

Crop height

Minimum: 1. Maximum: 8192.

Try it in Discord

Type the command in a server where sow is available. Replace any values in angle brackets with your own.

/image crop attachment:<attachment> x:<x> y:<y> width:<width> height:<height>

Who can use it?

Server members, subject to channel permissions and enabled categories.

Server settings, integration availability and shared usage limits can affect whether a command is available.