---
title: NewBlurModePixels
summary: NewBlurModePixels returns a new BlurMode with a blur radius in pixels.
url: https://www.fastly.com/documentation/reference/compute/sdks/go/compute-sdk-go/fsthttp/imageopto/fn.NewBlurModePixels/
---

**Kind:** Function  
**Module:** [imageopto](https://www.fastly.com/documentation/reference/compute/sdks/go/compute-sdk-go/fsthttp/imageopto/)  
**Package:** compute-sdk-go v1.11.0  
**Source:** https://github.com/fastly/compute-sdk-go/blob/d6bf71b04516ed72d6018cab6fff701a865f86e5/fsthttp/imageopto/imageopto.go#L452

```go
func NewBlurModePixels(p float64) BlurMode
```

NewBlurModePixels returns a new BlurMode with a blur radius in pixels.

**Parameters**

- `p`: `float64`

**Returns**

`BlurMode`
