---
title: "vImageConvert_ARGB8888toRGB888(_:_:_:)"
framework: accelerate
role: symbol
role_heading: Function
path: "accelerate/vimageconvert_argb8888torgb888(_:_:_:)"
---

# vImageConvert_ARGB8888toRGB888(_:_:_:)

Removes the alpha channel from an 8-bit-per-channel ARGB buffer to produce an 8-bit-per-channel RGB result.

## Declaration

```swift
func vImageConvert_ARGB8888toRGB888(_: UnsafePointer<vImage_Buffer>, _: UnsafePointer<vImage_Buffer>, _: vImage_Flags) -> vImage_Error
```

## Return Value

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

## Discussion

Discussion This function copies the red, green, and blue source channels to the destination buffer. Parameters

## See Also

### Conversion from 8-bit-per-channel, 4-channel interleaved buffers

- [vImageConvert_RGBA8888toRGB888(_:_:_:)](accelerate/vimageconvert_rgba8888torgb888(_:_:_:).md)
- [vImageConvert_BGRA8888toRGB888(_:_:_:)](accelerate/vimageconvert_bgra8888torgb888(_:_:_:).md)
- [vImageConvert_ARGB8888toRGB565(_:_:_:)](accelerate/vimageconvert_argb8888torgb565(_:_:_:).md)
- [vImageConvert_ARGB8888toRGB565_dithered(_:_:_:_:_:)](accelerate/vimageconvert_argb8888torgb565_dithered(_:_:_:_:_:).md)
- [vImageConvert_BGRA8888toRGB565(_:_:_:)](accelerate/vimageconvert_bgra8888torgb565(_:_:_:).md)
- [vImageConvert_BGRA8888toRGB565_dithered(_:_:_:_:_:)](accelerate/vimageconvert_bgra8888torgb565_dithered(_:_:_:_:_:).md)
- [vImageConvert_RGBA8888toRGB565_dithered(_:_:_:_:_:)](accelerate/vimageconvert_rgba8888torgb565_dithered(_:_:_:_:_:).md)
- [vImageConvert_RGBA8888toRGB565(_:_:_:)](accelerate/vimageconvert_rgba8888torgb565(_:_:_:).md)
- [vImageConvert_ARGB8888ToRGB16U(_:_:_:_:_:_:)](accelerate/vimageconvert_argb8888torgb16u(_:_:_:_:_:_:).md)
