array ( 0 => 'index.php', 1 => 'PHP Manual', ), 'head' => array ( 0 => 'UTF-8', 1 => 'zh', ), 'this' => array ( 0 => 'imagick.destroy.php', 1 => 'Imagick::destroy', 2 => 'Destroys the Imagick object', ), 'up' => array ( 0 => 'class.imagick.php', 1 => 'Imagick', ), 'prev' => array ( 0 => 'imagick.despeckleimage.php', 1 => 'Imagick::despeckleImage', ), 'next' => array ( 0 => 'imagick.displayimage.php', 1 => 'Imagick::displayImage', ), 'alternatives' => array ( ), 'source' => array ( 'lang' => 'en', 'path' => 'reference/imagick/imagick/destroy.xml', ), 'history' => array ( ), ); $setup["toc"] = $TOC; $setup["toc_deprecated"] = $TOC_DEPRECATED; $setup["parents"] = $PARENTS; manual_setup($setup); contributors($setup); ?>

Imagick::destroy

(PECL imagick 2, PECL imagick 3)

Imagick::destroyDestroys the Imagick object

说明

public Imagick::destroy(): bool

Destroys the Imagick object and frees all resources associated with it. This method is deprecated in favour of Imagick::clear.

参数

此函数没有参数。

返回值

成功时返回 true