---
title: "ImageDataSettings | JavaScript maps SDK"
description: "Documentation for MapTiler SDK"
---

> For AI agents: a documentation index is available at [/llms.txt](https://docs.maptiler.com/llms.txt). Markdown versions of all pages are available by appending .md to any URL.

# Interface ImageDataSettings

interface ImageDataSettings {  
    [colorSpace](#colorspace)?: [PredefinedColorSpace](https://docs.maptiler.com/sdk-js/api-reference/types/Externals.PredefinedColorSpace/);  
    [pixelFormat](#pixelformat)?: [ImageDataPixelFormat](https://docs.maptiler.com/sdk-js/api-reference/types/Externals.ImageDataPixelFormat/);  
}

##### Index

### Properties[](#properties)

[colorSpace?](#colorspace) [pixelFormat?](#pixelformat)

## Properties[](#properties-1)

### `Optional`colorSpace[](#colorspace)

colorSpace?: [PredefinedColorSpace](https://docs.maptiler.com/sdk-js/api-reference/types/Externals.PredefinedColorSpace/)

### `Optional`pixelFormat[](#pixelformat)

pixelFormat?: [ImageDataPixelFormat](https://docs.maptiler.com/sdk-js/api-reference/types/Externals.ImageDataPixelFormat/)
