Empezar ahora
Imgix Tools

Imgix Fit

Usa Imgix Fit con Imgix Tools mediante Aident Loadout. Revisa sus entradas, salidas, configuración, precio y riesgo antes de ejecutarla.

Action de escrituraNivel de riesgo 2 de 5Conexión con clave de API

Descripción del proveedor

Tool to control how an image fits target dimensions after resizing. Use when specifying width, height, and fit behavior.

Precios y límites

Precio
Action gratuita
Pago unificado
No compatible actualmente

Entradas

  • h
    Obligatorio
    Output height in pixels (1-8192) or ratio (0.0-1.0) of source height
  • w
    Obligatorio
    Output width in pixels (1-8192) or ratio (0.0-1.0) of source width
  • fitstring
    Obligatorio
    Specifies how to fit the image within the target dimensions. One of: clamp, clip, crop, facearea, fill, fillmax, max, min, scale.
  • facepadnumber
    Padding around detected faces as fraction of face bounding box when fit='facearea'
  • faceindexinteger
    Select which detected face to prioritize when fit='facearea'
  • image_pathstring
    Obligatorio
    Path to the image within the source, e.g., 'images/photo.jpg' (omit leading slash)
  • source_domainstring
    Obligatorio
    Imgix source domain (hostname), e.g., 'example-source.imgix.net' (exclude protocol)

Salida observable

  • data
    Obligatorio
    Data from the action execution
  • errorstring
    Error if any occurred during the execution of the action
  • successfulboolean
    Obligatorio
    Whether or not the action execution was successful or not

Skills que usan esta Action

Casos de uso relacionados

Aún no hay casos de uso relacionados verificados.

Fuente oficial

Fuente del proveedor