useHardwareAcceleration
A Boolean value specifying that using hardware is preferred when decoding.
Declaration
static let useHardwareAcceleration: CIImageOptionDiscussion
If the value for this option is:
True: The image will be decoded using dedicated hardware if possible.
False: The image will be decoded using the CPU is possible.
Not specified: The default behavior is True.
This option is only supported by JPEG and HEIF images formats.
This option is only supported by these APIs:
/CIImage/imageWithContentsOfURL:options:/CIImage/initWithContentsOfURL:options:/CIImage/imageWithData:options:/CIImage/initWithData:options:/CIImage/imageWithCGImageSource:index:options:/CIImage/initWithCGImageSource:index:options: