public compare ( string | grafika\ImageInterface $image1, string | grafika\ImageInterface $image2 ) : integer | ||
$image1 | string | grafika\ImageInterface | Can be an instance of Image or string containing the file system path to image. |
$image2 | string | grafika\ImageInterface | Can be an instance of Image or string containing the file system path to image. |
return | integer | Hamming distance. Note: This breaks the chain if you are doing fluent api calls as it does not return an Editor. |