<!--
{
  "availability" : [
    "iOS: -",
    "iPadOS: -",
    "macCatalyst: -",
    "macOS: -",
    "tvOS: -",
    "visionOS: -"
  ],
  "documentType" : "symbol",
  "framework" : "CoreImage",
  "identifier" : "/documentation/CoreImage/CIDataMatrixCodeDescriptor/ECCVersion-swift.enum",
  "metadataVersion" : "0.1.0",
  "role" : "Enumeration",
  "symbol" : {
    "kind" : "Enumeration",
    "modules" : [
      "Core Image",
      "CoreImage"
    ],
    "preciseIdentifier" : "c:@E@CIDataMatrixCodeECCVersion"
  },
  "title" : "CIDataMatrixCodeDescriptor.ECCVersion"
}
-->

# CIDataMatrixCodeDescriptor.ECCVersion

Constants indicating the Data Matrix code ECC version.

```
enum ECCVersion
```

## Overview

ECC 000 - 140 symbols offer five levels of error correction using convolutional code error correction.
Each successive level or error correction offers more protection for the message data but increases the
size of the symbol required to carry a given message. See the ISO/IEC 16022:2006 spec for other modes.

ECC 200 symbols utilize Reed-Solomon error correction.
The error correction capacity for any given Data Matrix symbol is fixed by the size (in rows and columns)
of the symbol. See Table 7 of ISO/IEC 16022:2006(E) for more details.

## Topics

### Enumeration Cases

[`case v000`](/documentation/CoreImage/CIDataMatrixCodeDescriptor/ECCVersion-swift.enum/v000)

Indicates error correction using convolutional code error correction with no data protection.

[`case v050`](/documentation/CoreImage/CIDataMatrixCodeDescriptor/ECCVersion-swift.enum/v050)

Indicates 1/4 of the symbol is dedicated to convolutional code error correction.

[`case v080`](/documentation/CoreImage/CIDataMatrixCodeDescriptor/ECCVersion-swift.enum/v080)

Indicates 1/3 of the symbol is dedicated to convolutional code error correction.

[`case v100`](/documentation/CoreImage/CIDataMatrixCodeDescriptor/ECCVersion-swift.enum/v100)

Indicates 1/2 of the symbol is dedicated to convolutional code error correction.

[`case v140`](/documentation/CoreImage/CIDataMatrixCodeDescriptor/ECCVersion-swift.enum/v140)

Indicates 3/4 of the symbol is dedicated to convolutional code error correction.

[`case v200`](/documentation/CoreImage/CIDataMatrixCodeDescriptor/ECCVersion-swift.enum/v200)

Indicates error correction using Reed-Solomon error correction. Data protection overhead varies based on symbol size.

### Initializers

[`init?(rawValue: Int)`](/documentation/CoreImage/CIDataMatrixCodeDescriptor/ECCVersion-swift.enum/init(rawValue:))

## Relationships

### Conforms To

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

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

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

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

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

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

---

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)