Commencer maintenant
Imgix Tools

Imgix Dpr

Utilisez Imgix Dpr 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 set device pixel ratio for an Imgix image. Use when rendering at specific display densities to ensure correct sharpness. Example: 'dpr=2&w=500&h=300' doubles resolution relative to dimensions.

Tarifs et limites

Tarif
Action gratuite
Paiement unifié
Non pris en charge actuellement

Entrées

  • hinteger
    Desired output height in pixels (integer ≥ 1). At least one of width or height is required.'
  • winteger
    Desired output width in pixels (integer ≥ 1). At least one of width or height is required.'
  • dprnumber
    Device pixel ratio controlling image output density. Default is 1; must be ≥ 0 and ≤ 5. Requires width and/or height to take effect.
  • sourcestring
    Obligatoire
    Imgix source domain (e.g., 'my-source'). Do not include 'https://' or trailing slash.'
  • asset_pathstring
    Obligatoire
    Path to the image asset on your Imgix source (e.g., 'photos/image.jpg'). No leading slash.'

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