我無法使imagick與本地xampp一起工作。致命錯誤:未捕獲異常'ImagickException'帶消息'NoDecodeDelegateForThisImageFormat
錯誤
Fatal error: Uncaught exception 'ImagickException' with message 'NoDecodeDelegateForThisImageFormat
代碼
$im = new imagick();
$im->setResolution(300, 300);
$im->readimage($base_dir . 'files/PDF/test.pdf');
$im->setIteratorIndex($i);
$im->setImageFormat('jpeg');
$newimgname = time();
$im->resizeImage(500, 500, Imagick::FILTER_LANCZOS, 1);
$im->cropImage(100, 100, 0, 0);
$thumbnail = $im->getImageBlob();
POSS複製[此篇](http://stackoverflow.com/questions/22547819/imagick-not-loading-images-with-nodecodedelegateforthisimageformat-error-mess) – 2014-09-11 06:46:53
歡迎的StackOverflow的。請簡要說明您正在嘗試做什麼,您嘗試解決此問題的方法以及您希望輸出的內容。 – JamesENL 2014-09-11 06:47:04
哇,今天的艱難人羣。 @JeremyMiller這不是重複的,這是關於PDF的。 @ James Massey問題很簡單,但實際上已經完成。 – Danack 2014-09-11 15:04:18