---
title: decoderVersion
framework: coreimage
role: symbol
role_heading: Instance Property
path: coreimage/cirawfilter/decoderversion
---

# decoderVersion

A value that indicates the decoder version to use.

## Declaration

```swift
var decoderVersion: CIRAWDecoderVersion { get set }
```

## Discussion

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.

## See Also

### Configuring a filter

- [baselineExposure](coreimage/cirawfilter/baselineexposure.md)
- [boostAmount](coreimage/cirawfilter/boostamount.md)
- [boostShadowAmount](coreimage/cirawfilter/boostshadowamount.md)
- [colorNoiseReductionAmount](coreimage/cirawfilter/colornoisereductionamount.md)
- [contrastAmount](coreimage/cirawfilter/contrastamount.md)
- [detailAmount](coreimage/cirawfilter/detailamount.md)
- [exposure](coreimage/cirawfilter/exposure.md)
- [extendedDynamicRangeAmount](coreimage/cirawfilter/extendeddynamicrangeamount.md)
- [isDraftModeEnabled](coreimage/cirawfilter/isdraftmodeenabled.md)
- [isGamutMappingEnabled](coreimage/cirawfilter/isgamutmappingenabled.md)
- [isLensCorrectionEnabled](coreimage/cirawfilter/islenscorrectionenabled.md)
- [linearSpaceFilter](coreimage/cirawfilter/linearspacefilter.md)
- [localToneMapAmount](coreimage/cirawfilter/localtonemapamount.md)
- [luminanceNoiseReductionAmount](coreimage/cirawfilter/luminancenoisereductionamount.md)
- [moireReductionAmount](coreimage/cirawfilter/moirereductionamount.md)
