Contents

CGImageRetain

Increments the retain count of a bitmap image.

Declaration

extern CGImageRef CGImageRetain(CGImageRef image);

Parameters

  • image:

    The image to retain.

Return Value

The same image you passed in as the image parameter.

Discussion

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

See Also

Retaining and releasing images