---
title: CGImageRelease
framework: coregraphics
role: symbol
role_heading: Function
path: coregraphics/cgimagerelease
---

# CGImageRelease

Decrements the retain count of a bitmap image.

## Declaration

```occ
extern void CGImageRelease(CGImageRef image);
```

## Parameters

- `image`: The image to release.

## Discussion

Discussion This function is equivalent to CFRelease, except that it does not cause an error if the image parameter is NULL.

## See Also

### Retaining and releasing images

- [CGImageRetain](coregraphics/cgimageretain.md)
