---
title: CIFormat
framework: coreimage
role: symbol
role_heading: Structure
path: coreimage/ciformat
---

# CIFormat

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

## Declaration

```swift
struct CIFormat
```

## Topics

### Image Formats

- [A16](coreimage/ciformat/a16.md)
- [A8](coreimage/ciformat/a8.md)
- [ABGR8](coreimage/ciformat/abgr8.md)
- [ARGB8](coreimage/ciformat/argb8.md)
- [Af](coreimage/ciformat/af.md)
- [Ah](coreimage/ciformat/ah.md)
- [BGRA8](coreimage/ciformat/bgra8.md)
- [R16](coreimage/ciformat/r16.md)
- [R8](coreimage/ciformat/r8.md)
- [RG16](coreimage/ciformat/rg16.md)
- [RG8](coreimage/ciformat/rg8.md)
- [RGB10](coreimage/ciformat/rgb10.md)
- [RGBA16](coreimage/ciformat/rgba16.md)
- [RGBX16](coreimage/ciformat/rgbx16.md)
- [RGBA8](coreimage/ciformat/rgba8.md)
- [RGBAf](coreimage/ciformat/rgbaf.md)
- [rgbXf](coreimage/ciformat/rgbxf.md)
- [RGBAh](coreimage/ciformat/rgbah.md)
- [rgbXh](coreimage/ciformat/rgbxh.md)
- [RGf](coreimage/ciformat/rgf.md)
- [RGh](coreimage/ciformat/rgh.md)
- [Rf](coreimage/ciformat/rf.md)
- [Rh](coreimage/ciformat/rh.md)
- [L16](coreimage/ciformat/l16.md)
- [L8](coreimage/ciformat/l8.md)
- [LA16](coreimage/ciformat/la16.md)
- [LA8](coreimage/ciformat/la8.md)
- [LAf](coreimage/ciformat/laf.md)
- [LAh](coreimage/ciformat/lah.md)
- [Lf](coreimage/ciformat/lf.md)
- [Lh](coreimage/ciformat/lh.md)

### Initializers

- [init(rawValue:)](coreimage/ciformat/init(rawvalue:).md)

### Type Properties

- [RGBX8](coreimage/ciformat/rgbx8.md)

## Relationships

### Conforms To

- [BitwiseCopyable](swift/bitwisecopyable.md)
- [Equatable](swift/equatable.md)
- [Hashable](swift/hashable.md)
- [RawRepresentable](swift/rawrepresentable.md)
- [Sendable](swift/sendable.md)
- [SendableMetatype](swift/sendablemetatype.md)

## See Also

### Custom Filters

- [Writing Custom Kernels](coreimage/writing-custom-kernels.md)
- [CIKernel](coreimage/cikernel.md)
- [CIColorKernel](coreimage/cicolorkernel.md)
- [CIWarpKernel](coreimage/ciwarpkernel.md)
- [CIBlendKernel](coreimage/ciblendkernel.md)
- [CISampler](coreimage/cisampler.md)
- [CIFilterShape](coreimage/cifiltershape.md)
