<!--
{
  "availability" : [
    "iOS: 8.0.0 -",
    "iPadOS: 8.0.0 -",
    "macCatalyst: 13.1.0 -",
    "macOS: 10.10.0 -",
    "tvOS: 8.0.0 -",
    "visionOS: 1.0.0 -",
    "watchOS: 1.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "Accelerate",
  "identifier" : "/documentation/Accelerate/vImageCVImageFormat_CreateWithCVPixelBuffer(_:)",
  "metadataVersion" : "0.1.0",
  "role" : "Function",
  "symbol" : {
    "kind" : "Function",
    "modules" : [
      "Accelerate"
    ],
    "preciseIdentifier" : "c:@F@vImageCVImageFormat_CreateWithCVPixelBuffer"
  },
  "title" : "vImageCVImageFormat_CreateWithCVPixelBuffer(_:)"
}
-->

# vImageCVImageFormat_CreateWithCVPixelBuffer(_:)

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

```
func vImageCVImageFormat_CreateWithCVPixelBuffer(_ buffer: CVPixelBuffer!) -> Unmanaged<vImageCVImageFormat>!
```

## Parameters

`buffer`

The source Core Video pixel buffer.

## Return Value

A [`vImageCVImageFormat`](/documentation/Accelerate/vImageCVImageFormat) instance that describes the specified pixel buffer’s pixel format.

## See Also

[`make(buffer:)`](/documentation/Accelerate/vImageCVImageFormat/make(buffer:))

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



---

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)