YouTip LogoYouTip

Php Imagecolordeallocate

# PHP imagecolordeallocate - Deallocate an image color [![Image 4: PHP Image Processing](#)PHP Image Processing](#) imagecolordeallocate β€” Deallocate an image color. ### Syntax bool imagecolordeallocate ( resource $image , int $color ) The imagecolordeallocate() function deallocates a color previously allocated by [imagecolorallocate()](#) or [imagecolorallocatealpha()](#). ### Example The output of the above example will be an image like this: !(#) ### Related Articles Allocates a color for an image. Allocates a color for an image with transparency. [![Image 6: PHP Image Processing](#)PHP Image Processing](#)
← Php ImagecolorallocatealphaPhp Imagecharup β†’