decoderVersion
A value that indicates the decoder version to use.
Declaration
var decoderVersion: CIRAWDecoderVersion { get set }Discussion
The value should be in the range of 0 to the current decoder version.
A newly initialized object defaults to the newest available decoder version for the given image type. You can request an older version to maintain compatibility with older releases. However, the version you request needs to be a member of supportedDecoderVersions, otherwise the system generates a nil output image.
When you request a specific version of the decoder, Core Image produces an image that looks the same across different versions. However, Core Image doesn’t guarantee that the bits are the same across versions, because the rounding behavior of floating-point arithmetic varies due to differences in compilers or hardware.