---
hide_title: false
hide_table_of_contents: false
pagination_next: null
pagination_prev: null
---

# `Region`

Enumerator options for [`imageOptimizerOptions.region`](./imageOptimizerOptions.mdx).

## Constants

- `UsEast` (`"us_east"`)
- `UsCentral` (`"us_central"`)
- `UsWest` (`"us_west"`)
- `EuCentral` (`"eu_central"`)
- `EuWest` (`"eu_west"`)
- `Asia` (`"asia"`)
- `Australia` (`"australia"`)


## Examples

```js
import { Region } from 'fastly:image-optimizer';

addEventListener("fetch", (event) => event.respondWith(handleRequest(event)));

async function handleRequest(event) {
  return await fetch('https://www.w3.org/Graphics/PNG/text2.png', {
    imageOptimizerOptions: {
      region: Region.UsEast
    },
    backend: 'w3'
  });
}
```