php - Imagick:UnableToLoadModule

39

I have install the ImageMagic extension

this is my php version php version

this is my imagick version imagick version

this is my example php code :

?php 
   try{
    $im = new Imagick()
    $im->readImage('C:\xampp\htdocs\ldpc\application\views\gambar1.jpg');
    if ($im->getImageHeight() > 500) {
     $im->resizeImage(500, 500, Imagick::FILTER_LANCZOS, 1);
    }
    $im->sepiaToneImage(90.5);
    header('Content-type: ' . $im->getFormat());
    echo $im->getImageBlob();
    }
    catch (Exception $e) {
     echo $e->getMessage();
    }
?>

and it show like this :

UnableToLoadModule `C:\img\modules\coders\IM_MOD_RL_JPEG_.dll': The specified procedure could not be found. @ error/module.c/OpenModule/1277

how can I fix It ? please help me sir, i'm kinda new on php programming.

People are also looking for solutions to the problem: php - Simple crawl to website

Source

Didn't find the answer?

Our community is visited by hundreds of web development professionals every day. Ask your question and get a quick answer for free.

Ask a Question

Write quick answer

Do you know the answer to this question? Write a quick response to it. With your help, we will make our community stronger.

Similar questions

Find the answer in similar questions on our website.