This version of this document is no longer maintained. For the latest documentation, see http://www.qnx.com/developers/docs. |
Release the allocated members of an image
void PhReleaseImage( PhImage_t *image );
ph
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:
This function doesn't release the image structure itself.
Don't use PhReleaseImage() on an image acquired using PgReadScreen(). |
Photon
Safety: | |
---|---|
Interrupt handler | No |
Signal handler | No |
Thread | No |
ApGetImageRes(), PgDrawPhImage*(), PgDrawPhImageRect*(), PgDrawRepPhImage*(), PhCreateImage(), PhImage_t, PhMakeGhostBitmap(), PhMakeTransBitmap(), PmMemCreateMC(), PmMemFlush(), PxLoadImage()
"Images" in the Raw Drawing and Animation chapter of the Photon Programmer's Guide