---
title: "convert(to:)"
framework: accelerate
role: symbol
role_heading: Instance Method
path: "accelerate/vimage/pixelbuffer/convert(to:)-674t9"
---

# convert(to:)

Converts the contents of the unsigned 16-bit-per-channel, 4-channel interleaved pixel buffer to 32-bit-per-channel format.

## Declaration

```swift
func convert(to destination: vImage.PixelBuffer<vImage.InterleavedFx4>)
```

## Parameters

- `destination`: The destination pixel buffer.

## See Also

### Conversion from 16-bit to 32-bit

- [convert(to:)](accelerate/vimage/pixelbuffer/convert(to:)-4876v.md)
- [convert(to:)](accelerate/vimage/pixelbuffer/convert(to:)-1xpk2.md)
- [convert(to:)](accelerate/vimage/pixelbuffer/convert(to:)-8ljhz.md)
