<!--
{
  "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_Release",
  "metadataVersion" : "0.1.0",
  "role" : "Function",
  "symbol" : {
    "kind" : "Function",
    "modules" : [
      "Accelerate"
    ],
    "preciseIdentifier" : "c:@F@vImageCVImageFormat_Release"
  },
  "title" : "vImageCVImageFormat_Release"
}
-->

# vImageCVImageFormat_Release

Releases a Core Video image format.

```
void vImageCVImageFormat_Release(vImageCVImageFormatRef fmt);
```

## Parameters

`fmt`

The Core Video image format to release.

## Discussion

This function decrements the Core Video image format’s reference count. When the reference count reaches `0`, the system calls the `userDataReleaseCallback` (see [`vImageCVImageFormat_SetUserData(_:_:_:)`](/documentation/Accelerate/vImageCVImageFormat_SetUserData(_:_:_:))), and then destroys the object. The `userDataReleaseCallback` can access the [`vImageCVImageFormat`](/documentation/Accelerate/vImageCVImageFormat) object, but can’t prevent its destruction.

---

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)