Release the allocated members of an image
void PhReleaseImage( PhImage_t *image );
This function releases the allocated members of the PhImage_t pointed to by image, based on the value of image->flags. The valid flags are:
- Ph_RELEASE_IMAGE_ALL--free all the above.
This function doesn't release the image structure itself.
|Don't use PhReleaseImage() on an image acquired using PgReadScreen().|
"Images" in the Raw Drawing and Animation chapter of the Photon Programmer's Guide