Skip to main content

FreeToolCalculateCarouselSlicesResponse

slides object[]

The part of the source image each slide shows, left to right, in source pixels.

  • Array [
  • xinteger
    yinteger
    widthinteger
    heightinteger
  • ]
  • output object

    Size of each finished slide in pixels.

    widthinteger
    heightinteger
    scalenumber

    Output pixels per source pixel, 4 decimals.

    upscaledboolean

    True when the source is enlarged (scale above 1), which can look soft.

    warningsstring[]

    Upscaling and how much of the source is cropped away.

    FreeToolCalculateCarouselSlicesResponse
    {
    "slides": [
    {
    "x": 0,
    "y": 0,
    "width": 0,
    "height": 0
    }
    ],
    "output": {
    "width": 0,
    "height": 0
    },
    "scale": 0,
    "upscaled": true,
    "warnings": [
    "string"
    ]
    }