<!--
{
  "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/vImage/Error",
  "metadataVersion" : "0.1.0",
  "role" : "Enumeration",
  "symbol" : {
    "kind" : "Enumeration",
    "modules" : [
      "Accelerate"
    ],
    "preciseIdentifier" : "s:10Accelerate6vImageO5ErrorO"
  },
  "title" : "vImage.Error"
}
-->

# vImage.Error

An error that occurs during a vImage operation.

```
enum Error
```

## Topics

### Enumeration Cases

[`case bufferSizeMismatch`](/documentation/Accelerate/vImage/Error/bufferSizeMismatch)

An error indicating that the function requires the source and destination buffers to have the same size, but they don’t.

[`case colorSyncIsAbsent`](/documentation/Accelerate/vImage/Error/colorSyncIsAbsent)

An error indicating that the ColorSync framework is missing.

[`case coreVideoIsAbsent`](/documentation/Accelerate/vImage/Error/coreVideoIsAbsent)

An error indicating that the Core Video framework is missing.

[`case internalError`](/documentation/Accelerate/vImage/Error/internalError)

A serious error occurred inside vImage, which prevented vImage from continuing.

[`case invalidCVImageFormat`](/documentation/Accelerate/vImage/Error/invalidCVImageFormat)

An error indicating that a Core Video format is invalid.

[`case invalidEdgeStyle`](/documentation/Accelerate/vImage/Error/invalidEdgeStyle)

An error indicating that the specified edge style is invalid.

[`case invalidImageFormat`](/documentation/Accelerate/vImage/Error/invalidImageFormat)

An error indicating that a specified Core Graphics or Core Video format is invalid.

[`case invalidImageObject`](/documentation/Accelerate/vImage/Error/invalidImageObject)

An error indicating that a specified Core Graphics image or Core Video pixel buffer is invalid.

[`case invalidKernelSize`](/documentation/Accelerate/vImage/Error/invalidKernelSize)

An error indicating that either the kernel height, the kernel width, or both, are even.

[`case invalidOffset_X`](/documentation/Accelerate/vImage/Error/invalidOffset_X)

An error indicating that the parameter that specifies the left edge of the region of interest is greater than the width of the source image.

[`case invalidOffset_Y`](/documentation/Accelerate/vImage/Error/invalidOffset_Y)

An error indicating that the parameter that specifies the top edge of the region of interest is greater than the height of the source image.

[`case invalidParameter`](/documentation/Accelerate/vImage/Error/invalidParameter)

An error indicating that a function parameter has an invalid value.

[`case invalidRowBytes`](/documentation/Accelerate/vImage/Error/invalidRowBytes)

An error indicating that the buffer’s row bytes field is invalid.

[`case memoryAllocationError`](/documentation/Accelerate/vImage/Error/memoryAllocationError)

An error indicating that an attempt to allocate memory failed.

[`case noError`](/documentation/Accelerate/vImage/Error/noError)

The vImage function completed without error.

[`case nullPointerArgument`](/documentation/Accelerate/vImage/Error/nullPointerArgument)

An error indicating that a pointer parameter is `NULL` and it must not be.

[`case outOfPlaceOperationRequired`](/documentation/Accelerate/vImage/Error/outOfPlaceOperationRequired)

An error indicating that the source images and destination images alias the same image data, but must not.

[`case roiLargerThanInputBuffer`](/documentation/Accelerate/vImage/Error/roiLargerThanInputBuffer)

An error indicating that the region of interest extends beyond the bottom edge or right edge of the source buffer.

[`case unknownFlagsBit`](/documentation/Accelerate/vImage/Error/unknownFlagsBit)

An error indicating that a bit in the flags field isn’t supported.

[`case unsupportedConversion`](/documentation/Accelerate/vImage/Error/unsupportedConversion)

An error indicating that the requested conversion isn’t supported.

### Initializers

[`init(vImageError: vImage_Error)`](/documentation/Accelerate/vImage/Error/init(vImageError:))

## Relationships

### Conforms To

[`Sendable`](/documentation/Swift/Sendable)

[`SendableMetatype`](/documentation/Swift/SendableMetatype)

[`Copyable`](/documentation/Swift/Copyable)

[`Equatable`](/documentation/Swift/Equatable)

[`Hashable`](/documentation/Swift/Hashable)

[`Escapable`](/documentation/Swift/Escapable)

[`RawRepresentable`](/documentation/Swift/RawRepresentable)

[`Error`](/documentation/Swift/Error)

---

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)