---
title: "make(buffer:)"
framework: accelerate
role: symbol
role_heading: Type Method
path: "accelerate/vimagecvimageformat/make(buffer:)"
---

# make(buffer:)

Creates the description of the image encoding in an existing Core Video pixel buffer.

## Declaration

```swift
static func make(buffer: CVPixelBuffer) -> vImageCVImageFormat?
```

## Parameters

- `buffer`: The source Core Video pixel buffer.

## Mentioned in

Converting chroma-subsampled images

## Return Value

Return Value A vImageCVImageFormat instance that describes the specified pixel buffer’s pixel format.

## See Also

### Related Documentation

- [vImageCVImageFormat_CreateWithCVPixelBuffer(_:)](accelerate/vimagecvimageformat_createwithcvpixelbuffer(_:).md)

### Creating a Core Video image format

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