> For the complete documentation index, see [llms.txt](https://docs.airops.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.airops.com/docs/fr/actions/workflow-concepts/workflow-steps/image-and-video/resize-image.md).

# Redimensionner l'image

L’étape « Redimensionner l’image » vous permet d’ajuster les dimensions et la qualité des images dans votre workflow. Cela est utile pour optimiser les images pour divers cas d’utilisation, comme l’affichage sur le web, l’intégration dans des e-mails ou la publication sur les réseaux sociaux.

{% hint style="info" %}
Cette étape redimensionne les images tout en conservant le ratio d’aspect d’origine. Vous pouvez spécifier à la fois la largeur et la hauteur, ou seulement l’une des deux. L’image sera redimensionnée pour tenir dans les dimensions spécifiées, en veillant à ne pas les dépasser.
{% endhint %}

### Comment configurer l’étape Redimensionner l’image

La configuration de l’étape nécessite de définir les paramètres indiqués ci-dessous :

* **URL de l’image**: Saisissez l’URL de l’image que vous souhaitez redimensionner.
* **Largeur**: Indiquez la largeur souhaitée de l’image de sortie en pixels. Vous pouvez définir une valeur précise ou laisser ce champ vide pour conserver le ratio d’aspect en fonction du réglage de la hauteur.
* **Hauteur**: Indiquez la hauteur souhaitée de l’image de sortie en pixels. Vous pouvez définir une valeur précise ou laisser ce champ vide pour conserver le ratio d’aspect en fonction du réglage de la largeur.

### Format de sortie

L’étape Redimensionner l’image renvoie l’URL de l’image redimensionnée.


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://docs.airops.com/docs/fr/actions/workflow-concepts/workflow-steps/image-and-video/resize-image.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
