---
title: imageColorSpace()
framework: quartz
role: symbol
role_heading: Instance Method
path: quartz/qcplugininputimagesource/imagecolorspace()
---

# imageColorSpace()

Returns the color space of the image source.

## Declaration

```swift
func imageColorSpace() -> Unmanaged<CGColorSpace>!
```

## Return Value

Return Value The color space of the image source, typically RGB or Gray type.

## See Also

### Getting Color Space Information

- [shouldColorMatch()](quartz/qcplugininputimagesource/shouldcolormatch().md)
