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

# convert(to:)

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

## Declaration

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

## Parameters

- `destination`: The destination pixel buffer.

## See Also

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

- [convert(to:)](accelerate/vimage/pixelbuffer/convert(to:)-7xv7.md)
