---
title: "vImageConvert_RGBFFFtoBGRAFFFF(_:_:_:_:_:_:)"
framework: accelerate
role: symbol
role_heading: Function
path: "accelerate/vimageconvert_rgbffftobgraffff(_:_:_:_:_:_:)"
---

# vImageConvert_RGBFFFtoBGRAFFFF(_:_:_:_:_:_:)

Combines a floating-point 32-bit-per-channel, 3-channel RGB buffer and either an 32-bit alpha buffer or constant alpha value to produce a BGRA result.

## Declaration

```swift
func vImageConvert_RGBFFFtoBGRAFFFF(_: UnsafePointer<vImage_Buffer>, _: UnsafePointer<vImage_Buffer>!, _: Pixel_F, _: UnsafePointer<vImage_Buffer>, _: Bool, _ flags: vImage_Flags) -> vImage_Error
```

## Return Value

Return Value kvImageNoError; otherwise, one of the error codes in Data Types and Constants.

## Discussion

Discussion Parameters If you specify premultiply as true, the function uses the following calculation to perform the conversion:  r = (a * r)  g = (a * g)  b = (a * b)

## See Also

### Conversion from 32-bit-per-channel, 3-channel interleaved buffers

- [vImageConvert_RGBFFFtoARGBFFFF(_:_:_:_:_:_:)](accelerate/vimageconvert_rgbffftoargbffff(_:_:_:_:_:_:).md)
- [vImageConvert_RGBFFFtoRGBAFFFF(_:_:_:_:_:_:)](accelerate/vimageconvert_rgbffftorgbaffff(_:_:_:_:_:_:).md)
