---
title: CMMakeProfile
framework: Application Services
role: pseudoSymbol
platforms: []
path: applicationservices/colorsync_manager/1804920-cmmakeprofile
---

# CMMakeProfile

Makes a display or abstract profile by modifying an existing one.

## Declaration

```occ
CMError CMMakeProfile (
   CMProfileRef prof,
   CFDictionaryRef spec
);
```

## Parameters

- `prof`: The profile to modify.
- `spec`: A dictionary that specifies the modifications to make to the profile supplied in the `prof` parameter.

## Return Value

A `CMError` value. See [Result Codes](../colorsync_manager.md).

## Overview

The function `CMMakeProfile` adds appropriate tags to a profile to make a display or abstract profile based on a specification dictionary you supply. 

One key in the specification dictionary must be `"profileType"` with a CFString value of either `"abstractLab"`, `"displayRGB"` or `"displayID"`. 

The dictionary can optionally contain these keys-value pairs:

- `"description"`, with an associated CFString value
- `"copyright"`, with an associated CFString value

For a `profileType` key whose value is `"abstractLab"`, the dictionary can also contain the keys-value pairs listed in `Table 1`.

|  |  |  |
| --- | --- | --- |
|  |  |  |
|  |  |  |
|  |  |  |

For a `profileType` key whose value is `"displayRGB"`, the dictionary can also contain the keys-value pairs listed in `Table 2`.

|  |  |  |
| --- | --- | --- |
|  |  |  |
|  |  |  |
|  |  |  |
|  |  |  |
|  |  |  |
|  |  |  |
|  |  |  |
|  |  |  |
|  |  |  |
|  |  |  |
|  |  |  |
|  |  |  |
|  |  |  |
|  |  |  |
|  |  |  |
|  |  |  |
|  |  |  |
|  |  |  |
|  |  |  |

For a `profileType` key whose value is `"displayID"`, the dictionary can also contain the keys-value pairs in `Table 3`

|  |  |  |
| --- | --- | --- |
|  |  |  |
|  |  |  |
|  |  |  |

Optionally, the keys-value pairs s for a `profileType` key whose value is `"displayRGB"` can be provided to override the values from the display.

## See Also

### Creating Profiles

- [CMNewProfile](1804911-cmnewprofile.md)
- [CWNewLinkProfile](1804915-cwnewlinkprofile.md)
- [NCWNewLinkProfile](1804918-ncwnewlinkprofile.md)
