IMagicExtension :Unable to read image from the filehandle

丶灬走出姿态 提交于 2019-12-02 20:55:59

问题


I have installed

  • PHP 5.5.15
  • Apache 2.4.10
  • ImageMagick-6.7.7-5-Q16-windows-dll
  • php_imagick-3.2.0RC1-5.5-ts-vc11-x86

Imagick extension has installed correctly. but when i run the following code

$handle = fopen($url,"rb");

$img = new Imagick(); $img->readImageFile($handle);

Fatal error: Uncaught exception 'ImagickException' with message 'Unable to read image from the filehandle'

Thanks in advance

来源:https://stackoverflow.com/questions/33543238/imagicextension-unable-to-read-image-from-the-filehandle

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