Commencer maintenant
Imgix Tools

Imgix Fit

Utilisez Imgix Fit avec Imgix Tools via Aident Loadout. Vérifiez les entrées, sorties, la configuration, le tarif et le risque avant exécution.

Action d'écritureNiveau de risque 2 sur 5Connexion par clé API

Description du fournisseur

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

Tarifs et limites

Tarif
Action gratuite
Paiement unifié
Non pris en charge actuellement

Entrées

  • h
    Obligatoire
    Output height in pixels (1-8192) or ratio (0.0-1.0) of source height
  • w
    Obligatoire
    Output width in pixels (1-8192) or ratio (0.0-1.0) of source width
  • fitstring
    Obligatoire
    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
    Obligatoire
    Path to the image within the source, e.g., 'images/photo.jpg' (omit leading slash)
  • source_domainstring
    Obligatoire
    Imgix source domain (hostname), e.g., 'example-source.imgix.net' (exclude protocol)

Sortie observable

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

Skills qui utilisent cette Action

Cas d’usage associés

Aucun cas d’usage associé et vérifié pour le moment.

Source officielle

Source du fournisseur