# Images

Some API calls will return image objects for things such as logos or photos. The url field of the image object contains the url where you will find that image. This url is for the 'default' version of the image. There are some query string parameters available to change how the image is returned.

`format`

By default the image is returned in whatever format it was uploaded in, but by specifying the 'format' parameter you can change this. Valid options are: `png`, `jpg`, `webp`.

`size`

By default the image is returned as a square of 100x100 pixels. By specifying the 'size' parameter the image will be returned at a difference size. The available options are

| size parameter | dimensions                                               |
| -------------- | -------------------------------------------------------- |
| `100`          | 100x100                                                  |
| `200`          | 200x200                                                  |
| `400`          | 400x400                                                  |
| `800`          | 800x800                                                  |
| `1000`         | 1000x1000                                                |
| `RAW`          | The original dimensions that the image was uploaded with |

Images will not be scaled up. If you ask for an image with `size=400`, but the image is only 200x200 then the image will be returned as 200x200.

All images returned (apart from `size=RAW`) are square. If the original image that is uploaded is not square, then it is padded with a transparent (white for jpg) background.

An example url is: `https://img.dc.atriumsports.com/586aa6b195d243c4ae4154c8a61eda19?size=200&format=webp`


---

# 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.sportradar.com/datacore/sports-apis/badminton/datacore-api-v1/introduction/images.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.
