अभी शुरू करें
Imgix Tools

Imgix Force Aspect Ratio

Aident Loadout के माध्यम से Imgix Tools के साथ Imgix Force Aspect Ratio का उपयोग करें। चलाने से पहले इनपुट, आउटपुट, सेटअप, मूल्य और जोखिम देखें।

राइट Actionजोखिम स्तर 2/5API कुंजी कनेक्शन

प्रदाता विवरण

Tool to force a target aspect ratio on an Imgix image. Use when a specific W:H frame is needed after choosing fit=crop or fit=fill. Example: 'ar=16:9&fit=crop&w=800' yields a 16:9, 800px-wide URL.

मूल्य और सीमाएँ

मूल्य
मुफ़्त Action
एकीकृत भुगतान
अभी समर्थित नहीं

इनपुट

  • h
    Desired height in pixels (integer) or as a ratio (0.0-1.0). If omitted and 'w' is set, 'h' is auto-calculated.
  • w
    Desired width in pixels (integer) or as a ratio (0.0-1.0). If omitted and 'h' is set, 'w' is auto-calculated.
  • arstring
    आवश्यक
    Target aspect ratio in 'W:H' format. Use integers or decimals, e.g., '16:9', '4:3', '1.5:1'.
  • fitstring
    आवश्यक
    How the image fits the target ratio. Must be 'crop' or 'fill'.
  • cropstring
    When 'fit=crop', controls alignment of the crop box. Defaults to center if unset.
  • fillstring
    When 'fit=fill', determines how excess space is filled. Options: 'solid', 'blur', 'gradient', 'gen'.
  • pathstring
    आवश्यक
    Path to the image on your Imgix source, e.g., 'images/photo.jpg'. Exclude leading slash.
  • fill_colorstring
    Color for solid fill, e.g., '#ff0000' or 'red'. Only used when 'fill=solid'.
  • source_domainstring
    आवश्यक
    Your Imgix source domain, e.g., 'my-source.imgix.net'. Exclude protocol ('http://' or 'https://').

देखा जा सकने वाला आउटपुट

  • data
    आवश्यक
    Data from the action execution
  • errorstring
    Error if any occurred during the execution of the action
  • successfulboolean
    आवश्यक
    Whether or not the action execution was successful or not

इस Action का उपयोग करने वाली Skills

संबंधित उपयोग के मामले

अभी कोई सत्यापित संबंधित उपयोग मामला लिंक नहीं है।

आधिकारिक स्रोत

प्रदाता स्रोत