The Imagick class
PHP Manual

Imagick::optimizeImageLayers

(No version information available, might be only in CVS)

Imagick::optimizeImageLayersRemoves repeated portions of images to optimize

Описание

bool Imagick::optimizeImageLayers ( void )
Внимание

К настоящему времени эта функция еще не была документирована; для ознакомления доступен только список аргументов.

Compares each image the GIF disposed forms of the previous image in the sequence. From this it attempts to select the smallest cropped image to replace each frame, while preserving the results of the animation.

Возвращаемые значения

Returns TRUE on success.

Errors/Exceptions

Throws ImagickException on error.


The Imagick class
PHP Manual