ImagickDemos icon indicating copy to clipboard operation
ImagickDemos copied to clipboard

subImageMatch gives back same image.

Open rahgurung opened this issue 5 years ago • 2 comments

https://github.com/Danack/Imagick-demos/blob/a5c77b5a900d1c59ce41efae76ae7dbaad07c11b/src/ImagickDemo/Imagick/functions.php#L2266

It should be

echo $comparison->getImageBlob();

rahgurung avatar Sep 21 '19 18:09 rahgurung

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.

Danack avatar Sep 25 '19 11:09 Danack

I noticed that issue too, just gives a 1x1 white pixel.

rahgurung avatar Sep 25 '19 12:09 rahgurung