---
title: CGColorConversionInfo
framework: coregraphics
role: symbol
role_heading: Class
path: coregraphics/cgcolorconversioninfo
---

# CGColorConversionInfo

An object that describes how to convert between color spaces for use by other system services.

## Declaration

```swift
class CGColorConversionInfo
```

## Overview

Overview A CGColorConversionInfo object specifies a conversion between two or more color spaces, including information about the intent of the conversion. You use color conversion objects to specify the work to be done by an MPSImageConversion filter, which can then perform GPU-accelerated image conversion.

## Topics

### Creating a Color Conversion

- [init(src:dst:)](coregraphics/cgcolorconversioninfo/init(src:dst:).md)
- [init(optionsSrc:dst:options:)](coregraphics/cgcolorconversioninfo/init(optionssrc:dst:options:).md)
- [CGColorConversionInfoTransformType](coregraphics/cgcolorconversioninfotransformtype.md)

### Working with Core Foundation Types

- [typeID](coregraphics/cgcolorconversioninfo/typeid.md)

### Instance Methods

- [convert(width:height:to:format:from:format:options:)](coregraphics/cgcolorconversioninfo/convert(width:height:to:format:from:format:options:).md)

### Initializers

- [init(src:srcHeadroom:dst:dstHeadroom:toneMapping:options:_:)](coregraphics/cgcolorconversioninfo/init(src:srcheadroom:dst:dstheadroom:tonemapping:options:_:).md)

## Relationships

### Conforms To

- [Equatable](swift/equatable.md)
- [Hashable](swift/hashable.md)

## See Also

### Colors and Fonts

- [CGColor](coregraphics/cgcolor.md)
- [CGColorSpace](coregraphics/cgcolorspace.md)
- [CGFont](coregraphics/cgfont.md)
