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

# convert(to:)

Converts the contents of the floating-point 16-bit planar pixel buffer to 32-bit planar format.

## Declaration

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

## Parameters

- `destination`: The destination pixel buffer.

## See Also

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

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