Imagick:UnableToLoadModule

百般思念 提交于 2019-12-11 10:14:21

问题


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.

来源:https://stackoverflow.com/questions/33078829/imagickunabletoloadmodule

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!