imagedestroy

(PHP 4, PHP 5, PHP 7, PHP 8)

imagedestroy銷毀一圖像

說明

imagedestroy(resource $image): bool

imagedestroy() 釋放與 image 關(guān)聯(lián)的內(nèi)存。image 是由圖像創(chuàng)建函數(shù)返回的圖像標(biāo)識符,例如 imagecreatetruecolor()。