We help IT Professionals succeed at work.

Check out our new AWS podcast with Certified Expert, Phil Phillips! Listen to "How to Execute a Seamless AWS Migration" on EE or on your favorite podcast platform. Listen Now

x

Using Image Magick with PHP

Medium Priority
431 Views
Last Modified: 2012-05-11
Hello experts!

I am trying to use Image::Magick and I am receiving the following error:
Fatal error: Class 'Imagick' not found in...

I used the example code from http://www.php.net/manual/en/imagick.examples-1.php. I've also attached the code below.

As a troubleshooting step, I went to my CPanel and under the Perl Module Installer, it says that Image::Magick version 6.4.8 is installed.

Do I need a php include to make Image Magick work? I'm not sure what the next is to get Image Magick working.

<?php
$image = new Imagick('http://talktotucker.com/images/fctucker_logo.png');

$image->thumbnailImage(100, 0);

echo $image;
?>

Open in new window

Comment
Watch Question

Fixer of Problems
CERTIFIED EXPERT
Most Valuable Expert 2014
Commented:
Unlock this solution with a free trial preview.
(No credit card required)
Get Preview
Unlock this solution with a free trial preview.
(No credit card required)
Get Preview
Unlock this solution with a free trial preview.
(No credit card required)
Get Preview
Vimal DMSenior Software Engineer
CERTIFIED EXPERT
Commented:
Unlock this solution with a free trial preview.
(No credit card required)
Get Preview
Unlock the solution to this question.
Thanks for using Experts Exchange.

Please provide your email to receive a free trial preview!

*This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

OR

Please enter a first name

Please enter a last name

8+ characters (letters, numbers, and a symbol)

By clicking, you agree to the Terms of Use and Privacy Policy.