ImagickDemos
ImagickDemos copied to clipboard
subImageMatch gives back same image.
https://github.com/Danack/Imagick-demos/blob/a5c77b5a900d1c59ce41efae76ae7dbaad07c11b/src/ImagickDemo/Imagick/functions.php#L2266
It should be
echo $comparison->getImageBlob();
Thanks.....I fixed that, but it also now appears that subImageMatch isn't actually working correctly....
Before, it was returning an image that contains the matched region, which was the same size as the sample image. Currently it seems to be returning a 1x1 image...
I'll need to investigate/open a request upstream an ImageMagick.
I noticed that issue too, just gives a 1x1 white pixel.