# Resize

The Resize tool allows you to resize (resample) an image to make it larger or smaller. Don't forget that you can also do this when you export an image, which will apply to the exported image only.

<div align="left"><figure><img src="/files/ZXeQpvsqM89JHJKB7kNl" alt="The Image Resize tool."><figcaption><p>The Image Resize tool.</p></figcaption></figure></div>

**Resize by absolute value**\
This option lets you set the width and the height of the image in pixels directly. When Maintain aspect ratio is checked, either the width or the height will be calculated automatically.

**Resize by percentage**\
Enter a percentage to resize the image either up or down.

**Resize by common dimensions**\
Select an option from the drop-down list which contains common image sizes (in pixels).

**Resampling method**\
The calculation used to make the image larger or smaller. Some methods are slower, but result in higher quality results.&#x20;


---

# Agent Instructions: Querying This Documentation

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

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://astra-image.gitbook.io/astra-image-6.0/image-geometry/resize.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
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.
