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

# vImage.Options

Set flags on vImage operations to specify processing options.

```
struct Options
```

## Topics

### Type Properties

[`static let backgroundColorFill: vImage.Options`](/documentation/Accelerate/vImage/Options/backgroundColorFill)

A flag that uses the background color for missing pixels.

[`static let copyInPlace: vImage.Options`](/documentation/Accelerate/vImage/Options/copyInPlace)

A flag that copies the value of the edge pixel in the source to the destination.

[`static let doNotClamp: vImage.Options`](/documentation/Accelerate/vImage/Options/doNotClamp)

A flag that disables clamping in some conversions to floating-point formats.

[`static let doNotTile: vImage.Options`](/documentation/Accelerate/vImage/Options/doNotTile)

A flag that disables vImage internal tiling routines.

[`static let getTempBufferSize: vImage.Options`](/documentation/Accelerate/vImage/Options/getTempBufferSize)

A flag that returns the minimum temporary buffer size for the operation, given the parameters provided.

[`static let hdrContent: vImage.Options`](/documentation/Accelerate/vImage/Options/hdrContent)

A flag that uses HDR-aware methods.

[`static let highQualityResampling: vImage.Options`](/documentation/Accelerate/vImage/Options/highQualityResampling)

A flag that uses a higher quality, slower resampling filter for geometry operations.

[`static let imageExtend: vImage.Options`](/documentation/Accelerate/vImage/Options/imageExtend)

A flag that extends the edges of the image infinitely.

[`static let leaveAlphaUnchanged: vImage.Options`](/documentation/Accelerate/vImage/Options/leaveAlphaUnchanged)

A flag that restricts the operation to red, green, and blue channels only.

[`static let noAllocate: vImage.Options`](/documentation/Accelerate/vImage/Options/noAllocate)

A flag that prevents vImage from allocating additional storage.

[`static let noFlags: vImage.Options`](/documentation/Accelerate/vImage/Options/noFlags)

A flag that sets the behavior to the default.

[`static let printDiagnosticsToConsole: vImage.Options`](/documentation/Accelerate/vImage/Options/printDiagnosticsToConsole)

A flag that prints a debug message if the operation fails.

[`static let truncateKernel: vImage.Options`](/documentation/Accelerate/vImage/Options/truncateKernel)

A flag that uses only the part of the kernel that overlaps the image.

### Instance Properties

[`var flags: vImage_Flags`](/documentation/Accelerate/vImage/Options/flags)

## Relationships

### Conforms To

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

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

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

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

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

---

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)