The Imagick class
PHP Manual

Imagick::optimizeImageLayers

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

Imagick::optimizeImageLayersRemoves repeated portions of images to optimize

Opis

bool Imagick::optimizeImageLayers ( void )
Ostrzeżenie

Ta funkcja jest obecnie nieudokumentowana, dostępna jest jedynie lista jej argumentów.

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.

Zwracane wartości

Zwraca TRUE w przypadku sukcesu.

Błędy/Wyjątki

Zgłasza wyjątek ImagickException w przypadku błędu.


The Imagick class
PHP Manual