> For the complete documentation index, see [llms.txt](https://docs.gmetri.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.gmetri.com/guidelines-compatibility/guidelines/asset-guidelines/image-aspect-ratio.md).

# Image Aspect Ratio

Determining the aspect ratio of images to use ensuring no distortion

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