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

# convert(to:)

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

## Declaration

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

## Parameters

- `destination`: The destination pixel buffer.

## See Also

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

- [convert(to:)](accelerate/vimage/pixelbuffer/convert(to:)-2bc8n.md)
- [convert(to:)](accelerate/vimage/pixelbuffer/convert(to:)-56zhe.md)
- [convert(to:)](accelerate/vimage/pixelbuffer/convert(to:)-2dbbo.md)
