undefined function imagick_isimageequal

IMagick is a native PHP extension to create and modify images using the ImageMagick API. ImageMagick Studio LLC did not write nor does it maintain the IMagick extension, however, IMagick users are welcome to discuss the extension here.
Post Reply
darkfreaks

undefined function imagick_isimageequal

Post by darkfreaks »

so on the following line i get this error "Undefined function imagick_isimagesequal on line 21"

line is :

Code: Select all

<?php
//compare both images
imagick_isimagesequal($image,$image_two);?>
which i fixed to this and get the same error:

Code: Select all

<?php
//compare both images
imagick_isimagesequal($image->$im1,$image_two->$im2);?>

the second php variable is the connect handler for both images.
mkoppanen
Posts: 309
Joined: 2007-06-09T07:06:32-07:00

Re: undefined function imagick_isimageequal

Post by mkoppanen »

Hello,

for this function you need Imagick 0.9.x. Imagick 2.x.x or newer does not support the procedural API.
Mikko Koppanen
My blog: http://valokuva.org
darkfreaks

Re: undefined function imagick_isimageequal

Post by darkfreaks »

imagick module version 2.3.0

so how would i go about comparing images if this has been outdated???
Post Reply