<!--
{
  "availability" : [
    "iOS: 13.0.0 -",
    "iPadOS: 13.0.0 -",
    "macCatalyst: -",
    "macOS: 10.15.0 -",
    "tvOS: 13.0.0 -",
    "visionOS: -",
    "watchOS: 6.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "Accelerate",
  "identifier" : "/documentation/Accelerate/vImageCVImageFormat/make(format:matrix:chromaSiting:colorSpace:alphaIsOpaqueHint:)",
  "metadataVersion" : "0.1.0",
  "role" : "Type Method",
  "symbol" : {
    "kind" : "Type Method",
    "modules" : [
      "Accelerate"
    ],
    "preciseIdentifier" : "s:So22vImageCVImageFormatRefa10AccelerateE4make6format6matrix12chromaSiting10colorSpace17alphaIsOpaqueHintABSgAbCE0C0O_So01vA19_ARGBToYpCbCrMatrixVAbCE06ChromaJ0OSo07CGColorlD0aSbtFZ"
  },
  "title" : "make(format:matrix:chromaSiting:colorSpace:alphaIsOpaqueHint:)"
}
-->

# make(format:matrix:chromaSiting:colorSpace:alphaIsOpaqueHint:)

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

```
static func make(format: vImageCVImageFormat.Format, matrix: vImage_ARGBToYpCbCrMatrix, chromaSiting: vImageCVImageFormat.ChromaSiting, colorSpace: CGColorSpace, alphaIsOpaqueHint: Bool) -> vImageCVImageFormat?
```

## Parameters

`format`

The format type of the image.

`matrix`

A [`vImage_ARGBToYpCbCrMatrix`](/documentation/Accelerate/vImage_ARGBToYpCbCrMatrix) that describes the conversion from RGB to the YpCbCr format.

`chromaSiting`

The chrominance location.

`colorSpace`

The color space of RGB and monochrome images. For YpCbCr images, this is the color space of the RGB image before conversion to YpCbCr using the ARGB-to-YpCbCr conversion matrix. The YpCbCr format RGB primaries and transfer function define the color space.

`alphaIsOpaqueHint`

A hint that indicates that the function interprets an image with an alpha channel as opaque.

## Return Value

A [`vImageCVImageFormat`](/documentation/Accelerate/vImageCVImageFormat) instance encoded with the function’s parameters.

## Discussion

This function derives values that parameters from the image format type don’t specify, such as the number of channels, channel names, and channel descriptions.

## See Also

[`func vImageCVImageFormat_Create(UInt32, UnsafePointer<vImage_ARGBToYpCbCrMatrix>!, CFString!, CGColorSpace!, Int32) -> Unmanaged<vImageCVImageFormat>!`](/documentation/Accelerate/vImageCVImageFormat_Create(_:_:_:_:_:))

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



---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)