---
title: CMBitmap
framework: Application Services
role: symbol
role_heading: Structure
platforms: [macOS 10.0+]
path: applicationservices/cmbitmap
---

# CMBitmap

Contains information that describes color bitmap images.

## Declaration

```occ
typedef struct CMBitmap {
    ...
} CMBitmap;
```

## Overview

The ColorSync Manager defines a bitmap structure of type `CMBitmap` to describe color bitmap images. When your application calls the function [CWMatchColors](colorsync_manager/1805108-cwmatchcolors.md) , you pass a pointer to a source bitmap of type `CMBitmap` containing the image whose colors are to be matched to the color gamut of the device specified by the destination profile of the given color world. If you do not want the image color matched in place, you can also pass a pointer to a resulting bitmap of type `CMBitmap` to define and hold the color-matched image. 

For QuickDraw GX, an image can have an indexed bitmap to a list of colors. The ColorSync Manager does not support indexed bitmaps in the same way QuickDraw GX does. ColorSync supports indexed bitmaps only when the `cmNamedIndexed32Space` color space constant is used in conjunction with a named color space profile. 

## Topics

### Instance Properties

- [height](cmbitmap/1560544-height.md)
- [image](cmbitmap/1560569-image.md)
- [pixelSize](cmbitmap/1560543-pixelsize.md)
- [rowBytes](cmbitmap/1560650-rowbytes.md)
- [space](cmbitmap/1560357-space.md)
- [user1](cmbitmap/1560652-user1.md)
- [user2](cmbitmap/1560258-user2.md)
- [width](cmbitmap/1560535-width.md)
