<!--
{
  "availability" : [
    "iOS: -",
    "iPadOS: -",
    "macCatalyst: -",
    "macOS: -",
    "tvOS: -",
    "visionOS: -"
  ],
  "documentType" : "symbol",
  "framework" : "CoreImage",
  "identifier" : "/documentation/CoreImage/CIFormat",
  "metadataVersion" : "0.1.0",
  "role" : "Structure",
  "symbol" : {
    "kind" : "Structure",
    "modules" : [
      "Core Image"
    ],
    "preciseIdentifier" : "c:@T@CIFormat"
  },
  "title" : "CIFormat"
}
-->

# CIFormat

Pixel data formats for image input, output, and processing.

```
struct CIFormat
```

## Topics

### Image Formats

[`kCIFormatA16`](/documentation/CoreImage/CIFormat/A16)

A 16-bit-per-pixel, fixed-point pixel format in which the sole component is alpha.

[`kCIFormatA8`](/documentation/CoreImage/CIFormat/A8)

An 8-bit-per-pixel, fixed-point pixel format in which the sole component is alpha.

[`kCIFormatABGR8`](/documentation/CoreImage/CIFormat/ABGR8)

A 32-bit-per-pixel, fixed-point pixel format in which the alpha value precedes the blue, green, and red color components.

[`kCIFormatARGB8`](/documentation/CoreImage/CIFormat/ARGB8)

A 32-bit-per-pixel, fixed-point pixel format in which the alpha value precedes the red, green, and blue color components.

[`kCIFormatAf`](/documentation/CoreImage/CIFormat/Af)

A 32-bit-per-pixel, full-width floating-point pixel format in which the sole component is alpha.

[`kCIFormatAh`](/documentation/CoreImage/CIFormat/Ah)

A 16-bit-per-pixel, half-width floating-point pixel format in which the sole component is alpha.

[`kCIFormatBGRA8`](/documentation/CoreImage/CIFormat/BGRA8)

A 32-bit-per-pixel, fixed-point pixel format in which the blue, green, and red color components precede the alpha value.

[`kCIFormatR16`](/documentation/CoreImage/CIFormat/R16)

A 16-bit-per-pixel, fixed-point pixel format in which the sole component is a red color value.

[`kCIFormatR8`](/documentation/CoreImage/CIFormat/R8)

An 8-bit-per-pixel, fixed-point pixel format in which the sole component is a red color value.

[`kCIFormatRG16`](/documentation/CoreImage/CIFormat/RG16)

A 32-bit-per-pixel, fixed-point pixel format with only red and green color components.

[`kCIFormatRG8`](/documentation/CoreImage/CIFormat/RG8)

A 16-bit-per-pixel, fixed-point pixel format with only red and green color components.

[`kCIFormatRGB10`](/documentation/CoreImage/CIFormat/RGB10)

[`kCIFormatRGBA16`](/documentation/CoreImage/CIFormat/RGBA16)

A 64-bit-per-pixel, fixed-point pixel format.

[`kCIFormatRGBX16`](/documentation/CoreImage/CIFormat/RGBX16)

[`kCIFormatRGBA8`](/documentation/CoreImage/CIFormat/RGBA8)

A 32-bit-per-pixel, fixed-point pixel format in which the red, green, and blue color components precede the alpha value.

[`kCIFormatRGBAf`](/documentation/CoreImage/CIFormat/RGBAf)

A 128-bit-per-pixel, floating-point pixel format.

[`kCIFormatRGBXf`](/documentation/CoreImage/CIFormat/rgbXf)

[`kCIFormatRGBAh`](/documentation/CoreImage/CIFormat/RGBAh)

A 64-bit-per-pixel, floating-point pixel format.

[`kCIFormatRGBXh`](/documentation/CoreImage/CIFormat/rgbXh)

[`kCIFormatRGf`](/documentation/CoreImage/CIFormat/RGf)

A 64-bit-per-pixel, floating-point pixel format with only red and green color components.

[`kCIFormatRGh`](/documentation/CoreImage/CIFormat/RGh)

A 32-bit-per-pixel, floating-point pixel format with only red and green color components.

[`kCIFormatRf`](/documentation/CoreImage/CIFormat/Rf)

A 32-bit-per-pixel, floating-point pixel format in which the sole component is a red color value.

[`kCIFormatRh`](/documentation/CoreImage/CIFormat/Rh)

A 16-bit-per-pixel, floating-point pixel format in which the sole component is a red color value.

[`kCIFormatL16`](/documentation/CoreImage/CIFormat/L16)

A 16-bit-per-pixel, fixed-point pixel format in which the sole component is luminance.

[`kCIFormatL8`](/documentation/CoreImage/CIFormat/L8)

An 8-bit-per-pixel, fixed-point pixel format in which the sole component is luminance.

[`kCIFormatLA16`](/documentation/CoreImage/CIFormat/LA16)

A 32-bit-per-pixel, fixed-point pixel format with only 16-bit luminance and alpha components.

[`kCIFormatLA8`](/documentation/CoreImage/CIFormat/LA8)

A 16-bit-per-pixel, fixed-point pixel format with only 8-bit luminance and alpha components.

[`kCIFormatLAf`](/documentation/CoreImage/CIFormat/LAf)

A 64-bit-per-pixel, full-width floating-point pixel format with 32-bit luminance and alpha components.

[`kCIFormatLAh`](/documentation/CoreImage/CIFormat/LAh)

A 32-bit-per-pixel, half-width floating-point pixel format with 16-bit luminance and alpha components.

[`kCIFormatLf`](/documentation/CoreImage/CIFormat/Lf)

A 32-bit-per-pixel, full-width floating-point pixel format in which the sole component is luminance.

[`kCIFormatLh`](/documentation/CoreImage/CIFormat/Lh)

A 16-bit-per-pixel, half-width floating-point pixel format in which the sole component is luminance.

### Initializers

[`init(rawValue:)`](/documentation/CoreImage/CIFormat/init(rawValue:))

## Relationships

### Conforms To

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

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

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

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

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

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

---

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)