PHP - Imagick Help
so i wanted to create an imagick application that compared 2 images to each other and if they in anyway shape or form matched one another to output every URL it matched.
however the problem i am having is appearantly the newer versions of imAgick does not support imagick_isimagesequal function. how would i get around this? anyone know? or could provide an alt solution with the PHP image function library. Similar TutorialsHi.... I'm trying to dive into imagick. But I cant seem to load it. My web host has Imagic 6.3.X installed but from phpinfo() it does not show, and my scripts bring fatal error. Code: [Select] Fatal error: Class 'Imagick' not found in...I have made my own php.ini and it lodes fine with .htaccess. Code: [Select] <IfModule mod_suphp.c> suPHP_ConfigPath /home/2/f/fesan/ </IfModule> In php.ini i have added: Code: [Select] ;My Extesions: [Imagick] extension=imagick.so Does anyone know how to load imagick correctly to php? I'm on a linux server. Hi There, I have ported my website over to another hosting provider and I cannot get this one thing working! We have images on our site, which this PHP Script should resize, but it can't find the Imagick.php script. I am convinced that it resides in a different path. Here is the error i get when trying to access one of the images : Warning: require_once(include/classes/Imagick.php) [function.require-once]: failed to open stream: No such file or directory in /hermes/bosweb/web128/b1282/ipg.accommodateruralcom/include/global.php on line 29 Fatal error: require_once() [function.require]: Failed opening required 'include/classes/Imagick.php' (include_path='.:/usr/local/lib/php-5.2.17/lib/php:/home/users/web/b1282/ipg.accommodateruralcom') in /hermes/bosweb/web128/b1282/ipg.accommodateruralcom/include/global.php on line 29 I contacted my hosting support about that and they said that the Imagick.php resides in the following directory : /usr/local/lib/ImageMagick I can appreciate that there may be references to this everywhere and anywhere. I have PHP files called imageResize, Global etc...just let me know which ones to post and ill do that. I really appreciate the help. [attachment deleted by admin] Hi, I am using imageMagick extension with php. The problem is that I can get it to run fine as a stand alone script: Code: [Select] <?php $im = new imagick('test.pdf[0]'); $im->setImageFormat( "jpg" ); header( "Content-Type: image/jpeg" ); $im->thumbnailImage(400, 0); echo $im; ?> however as soon as I introduce any more php/ html code or call the script from within code it fails with no error message. For example I would like to use it like this: Code: [Select] # loop through results and output in a table while ($stmt->fetch()) { $im = new imagick($file[0]); $im->setImageFormat( "jpg" ); header( "Content-Type: image/jpeg" ); $im->thumbnailImage(400, 0); echo $im; } Any clues as to why this won't work? Sam |