---
title: "make(format:colorSpace:alphaIsOpaqueHint:)"
framework: accelerate
role: symbol
role_heading: Type Method
path: "accelerate/vimagecvimageformat/make(format:colorspace:alphaisopaquehint:)"
---

# make(format:colorSpace:alphaIsOpaqueHint:)

Creates the description of an RGB image encoding in a Core Video pixel buffer from the specified properties.

## Declaration

```swift
static func make(format: vImageCVImageFormat.Format, colorSpace: CGColorSpace, alphaIsOpaqueHint: Bool) -> vImageCVImageFormat?
```

## Parameters

- `format`: The format type of the image.
- `colorSpace`: The color space of RGB and monochrome images.
- `alphaIsOpaqueHint`: A hint that indicates that the function interprets an image with an alpha channel as opaque.

## Return Value

Return Value A vImageCVImageFormat instance encoded with the function’s parameters.

## See Also

### Related Documentation

- [vImageCVImageFormat_Create(_:_:_:_:_:)](accelerate/vimagecvimageformat_create(_:_:_:_:_:).md)

### Creating a Core Video image format

- [make(buffer:)](accelerate/vimagecvimageformat/make(buffer:).md)
- [make(format:matrix:chromaSiting:colorSpace:alphaIsOpaqueHint:)](accelerate/vimagecvimageformat/make(format:matrix:chromasiting:colorspace:alphaisopaquehint:).md)
