# Image Aspect Ratio

Let's say you want to place an image in a 3D Scene - on a wall or on a banner or a TV - how do you know what aspect ratio to use?

You can depend on a property of GMetri - that when you first import an image, GMetri maintains its aspect ratio.

There are a few images in GMetri Assets > Images that are essentially grids - you can use grids to find out the aspect ratio of these walls

*These are the good ones:*

<figure><img src="https://media.discordapp.net/attachments/1074714839458512986/1075319122428186665/image.png?width=1265&#x26;height=898" alt=""><figcaption><p>Grid Images</p></figcaption></figure>

## Measuring aspect ratio

The steps to measure the aspect ratio of a wall is to place the grid on the wall (align as closely as possible) and then scale it so one side becomes a whole number

### Example 1

For example here for this wall, we placed and scaled it so that the y height = 10

<figure><img src="https://media.discordapp.net/attachments/1074714839458512986/1075319407141724170/image.png" alt=""><figcaption><p>Determining aspect ratio - Example 1</p></figcaption></figure>

And the corresponding x length happens to be 16.2 (-1 to 15.2) - so you want to use an image with an aspect ratio of 16.2:10 for this wall - something like Eg: `800px x 500px`

### Example 2

<figure><img src="https://media.discordapp.net/attachments/1074714839458512986/1075323851208138792/image.png" alt=""><figcaption><p>Determining aspect ratio - Example 2</p></figcaption></figure>

This ratio happens to be 20:7.4. So you want an image with a resolution like `1000px x 370px`

This is of course only true when you want **exactly 0 distortion**. You can also ballpark it and make minor adjustments to the image element with minor distortion.


---

# 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://docs.gmetri.com/guidelines-compatibility/guidelines/asset-guidelines/image-aspect-ratio.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.
