Документация PHP
| Документация DHTML | Документация Smarty | SVG/VML Графика и JavaScript
| Документация bash |
Imagick::getImageDistortion
(No version information available, might be only in CVS)
Imagick::getImageDistortion — Compares an image to a reconstructed image
Описание
float Imagick::getImageDistortion ( MagickWand $reference , int $metric )
Внимание
К настоящему времени эта функция еще не была документирована; для ознакомления доступен только список аргументов.
Compares an image to a reconstructed image and returns the specified distortion metric.
Список параметров
- reference
-
Imagick object to compare to.
- metric
-
One of the metric type constants.
Возвращаемые значения
Returns the distortion metric used on the image (or the best guess thereof). Throws an exception on error.
Errors/Exceptions
Throws ImagickException on error.