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:
This function doesn't release the image structure itself.
Widgets that use images call PhReleaseImage() automatically when the widget is destroyed or the image is changed. If you set Pt_FREE_MEMORY in the widget's Pt_ARG_FLAGS resource, the Ph_RELEASE_IMAGE_ALL flag is set before calling PhReleaseImage(). |
Photon
Safety: | |
---|---|
Interrupt handler | No |
Signal handler | No |
Thread | No |
ApGetImageRes(), PgDrawPhImagemx(), PhImage_t, PhMakeGhostBitmap(), PhMakeTransBitmap(), PmMemCreateMC(), PmMemFlush(), PxLoadImage()