Skip to main content

Rotate an image.

POST 

/image/rotate

Rotate an image.

Request

Header Parameters

    ipaas string

Bodyrequired

    urlstring

    The image URL

    bufferstring

    The image as a Base64-encoded buffer. Can be specified instead of url.

    anglenumberrequired

    The clockwise rotation.

    backgroundstring

    The color of the space that is not occupied by the image after the rotation. Only used if angle is not a multiple of 90 degrees. Default is #000000.

    Example: #000000
    getAsUrlboolean

    Whether the result image should be returned as a URL. Default is false.

    fileNamestring

    The file name of the result image. Default is a random ID.

Responses

Success

Schema
    urlstringrequired

    The result image URL.