---
title: "CanvasImageSmoothing | 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 CanvasImageSmoothing

interface CanvasImageSmoothing {  
    [imageSmoothingEnabled](#imagesmoothingenabled): boolean;  
    [imageSmoothingQuality](#imagesmoothingquality): [ImageSmoothingQuality](https://docs.maptiler.com/sdk-js/api-reference/types/Externals.ImageSmoothingQuality/);  
}

#### Hierarchy ([View Summary](https://docs.maptiler.com/sdk-js/api-reference/hierarchy/#Externals.CanvasImageSmoothing))

-   CanvasImageSmoothing
    -   [CanvasRenderingContext2D](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.CanvasRenderingContext2D/)
    -   [OffscreenCanvasRenderingContext2D](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.OffscreenCanvasRenderingContext2D/)

##### Index

### Properties[](#properties)

[imageSmoothingEnabled](#imagesmoothingenabled) [imageSmoothingQuality](#imagesmoothingquality)

## Properties[](#properties-1)

### imageSmoothingEnabled[](#imagesmoothingenabled)

imageSmoothingEnabled: boolean

[MDN Reference](https://developer.mozilla.org/docs/Web/API/CanvasRenderingContext2D/imageSmoothingEnabled)

### imageSmoothingQuality[](#imagesmoothingquality)

imageSmoothingQuality: [ImageSmoothingQuality](https://docs.maptiler.com/sdk-js/api-reference/types/Externals.ImageSmoothingQuality/)

[MDN Reference](https://developer.mozilla.org/docs/Web/API/CanvasRenderingContext2D/imageSmoothingQuality)
