# zoom-mode parameter (skin)

Source: https://ref.dm-lang.org/skin/param/zoom-mode
Added in BYOND 511.

### Applies to
> [Map](https://ref.dm-lang.org/skin/control/map.md)

### Posisble values
- normal
- distort
- blur


### Default value
> `normal`

Controls the way the map is upscaled.

Preserves a pixelated look, but does some blending between adjacent pixels when the zoom factor is not an integer. This is equivalent to upscaling by the next highest integer, then downscaling. distortUses nearest-neighbor sampling to upscale. This may look odd if the zoom factor is not an integer, since for instance some pixels might scale up to be 2 pixels wide, others 3 pixels wide. Some users prefer it anyway. blurUses bilinear sampling to upscale. This will cause a blurry appearance if the zoom factor is high, but it may be desired in some cases.

### See also
- [letterbox parameter](https://ref.dm-lang.org/skin/param/letterbox.md)
- [view-size parameter](https://ref.dm-lang.org/skin/param/view-size.md)
- [zoom parameter](https://ref.dm-lang.org/skin/param/zoom.md)
