目的:主要实现将pdf转成为图片。
Imagick: The PHP ImageMagick Extension
The ImageMagick extension, called Imagick when referring to the PHP extension, is a native PHP extension to create and modify images using the ImageMagick API.
1 | #mac 下安装imagick |
1 | #php.ini文件添加 |
通过phpinfo()
查看是否安装成功。
参考文章
How to Install the PHP ImageMagick Extension (IMagick)
Install ImageMagick on Mac