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

# convert(to:)

Converts the contents of a 32-bit, four-plane pixel buffer to a four-channel interleaved pixel buffer.

## Declaration

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

## Parameters

- `destination`: The destination pixel buffer.

## See Also

### Converting from 32-bit multiple plane to 32-bit interleaved

- [convert(to:)](accelerate/vimage/pixelbuffer/convert(to:)-8bqjc.md)
