Processing Flags
Set flags on vImage operations to specify processing options.
Overview
You can pass multiple flags to a function by adding the flag values together. For example, to leave alpha unchanged and turn off tiling, you can pass:
kvImageLeaveAlphaUnchanged + kvImageDoNotTileThree of the flags are mutually exclusive: kvImageCopyInPlace, kvImageBackgroundColorFill, and kvImageEdgeExtend. Never pass more than one of these flag values in the same flag parameter.
When passing flags to a function, do not set values for flags that are not used by the function. If the function requires you to set certain flag values, do so. For example, for the convolution function, you must set exactly one of kvImageCopyInPlace, kvImageBackgroundColorFill, and kvImageEdgeExtend. Otherwise the function may return an error. If you don’t want to set flag values, pass kvImageNoFlags.
Topics
Constants
vImage.OptionskvImageNoFlagskvImageLeaveAlphaUnchangedkvImageDoNotTilekvImageHighQualityResamplingkvImageGetTempBufferSizekvImagePrintDiagnosticsToConsolekvImageNoAllocatekvImageHDRContentkvImageDoNotClampkvImageUseFP16Accumulator