ImageMagick on Ubuntu 14.04 No decode delegate
问题 In development enviroment works but not in production enviroment. Production enviroment error: $e->getMessage(): "no decode delegate for this image format '/tmp/sws5725c638311df5.24370631' @ error/svg.c/ReadSVGImage/2871" Generate tmpname: $tmpname = '/tmp/'.uniqid('sws', true); Method: public function load($filename) { try { $this->filename = $filename; $this->image = new Imagick($filename); return $this; } catch(ImagickException $e) { error_log($e->getMessage(), 3, "/tmp/log.log");