downloads | documentation | faq | getting help | mailing lists | licenses | wiki | reporting bugs | php.net sites | conferences | my php.net

search for in the

Imagick::clipImage> <Imagick::chopImage
[edit] Last updated: Fri, 24 May 2013

view this page in

Imagick::clear

(PECL imagick 2.0.0)

Imagick::clearImagick オブジェクトに関連付けられたすべてのリソースをクリアする

説明

bool Imagick::clear ( void )

Imagick オブジェクトに関連付けられたすべてのリソースをクリアします。

返り値

成功した場合に TRUE を返します。



add a note add a note User Contributed Notes Imagick::clear - [1 notes]
up
0
markus dot s dot schmitz at gmail dot com
5 months ago
One might be suprised that there seems to be no difference between:

<?php
$imagick
= new Imagick();
$imagick->clear();
$imagick->readImage('myfile.jpg');
?>

and

<?php
$imagick
= new Imagick();
$imagick->destroy();
$imagick->readImage('myfile.jpg');
?>

Both functions reset all options and clear all used resources so you might want to use either one of them.
See also: http://php.net/manual/en/imagick.destroy.php

 
show source | credits | stats | sitemap | contact | advertising | mirror sites