Warning: main(/www/www/htdocs/style/globals.php) [function.main]: failed to open stream: No such file or directory in /www/www/docs/6.4.1/photon/lib_ref/ph/phreleaseimage.html on line 1
Warning: main() [function.include]: Failed opening '/www/www/htdocs/style/globals.php' for inclusion (include_path='.:/www/www/common:/www/www/php/lib/php') in /www/www/docs/6.4.1/photon/lib_ref/ph/phreleaseimage.html on line 1
Warning: main(/www/www/htdocs/style/header.php) [function.main]: failed to open stream: No such file or directory in /www/www/docs/6.4.1/photon/lib_ref/ph/phreleaseimage.html on line 8
Warning: main() [function.include]: Failed opening '/www/www/htdocs/style/header.php' for inclusion (include_path='.:/www/www/common:/www/www/php/lib/php') in /www/www/docs/6.4.1/photon/lib_ref/ph/phreleaseimage.html on line 8
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:
- Ph_RELEASE_IMAGE
- Ph_RELEASE_PALETTE
- Ph_RELEASE_TRANSPARENCY_MASK
- Ph_RELEASE_GHOST_BITMAP
- Ph_RELEASE_IMAGE_ALL—free all the above.
This function doesn't release the image structure itself.
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
Warning: main(/www/www/htdocs/style/footer.php) [function.main]: failed to open stream: No such file or directory in /www/www/docs/6.4.1/photon/lib_ref/ph/phreleaseimage.html on line 132
Warning: main() [function.include]: Failed opening '/www/www/htdocs/style/footer.php' for inclusion (include_path='.:/www/www/common:/www/www/php/lib/php') in /www/www/docs/6.4.1/photon/lib_ref/ph/phreleaseimage.html on line 132