Manuel PHP
Imagick::getImageDistortion
(No version information available, might be only in CVS)
Imagick::getImageDistortion — Compares an image to a reconstructed image
Description
float Imagick::getImageDistortion
( MagickWand $reference
, int $metric
)
Avertissement
Cette fonction n'est pas documentée et seule la liste des arguments est disponible.
Compares an image to a reconstructed image and returns the specified distortion metric.
Liste de paramètres
- reference
-
Imagick object to compare to.
- metric
-
One of the metric type constants.
Valeurs de retour
Returns the distortion metric used on the image (or the best guess thereof). Throws an exception on error.
Erreurs / Exceptions
Throws ImagickException on error.
Remonter 
