how to run imagemagik commands in PHP?

China☆狼群 提交于 2020-02-02 11:58:52

问题


i am trying to bend text using imagemagik in PHP. but the commands shown in the website are not working.

http://www.fmwconcepts.com/imagemagick/texteffect/index.php

how can i run these scripts in PHP ? somebody please help me..

NB :-t \'SOME ARCHBOTTOM TEXT\' -s outline -e arch-bottom -d 1.0 -f Arial -p 48 -c skyblue -b white -o black -l 1 -u lightpink


回答1:


Translate them to the PHP ImageMagick API




回答2:


dear you can use exec or passthru command to run image magic commands in php, no need of any API, just installed the latest imagemagick, if you are searching on php.net site the you will det the message like "Not documented"..




回答3:


Are you using magickwand? I had a similar problem, I didn't have my PHP installation properly configured to use Imagemagick. This link helped

http://www.ioncannon.net/php/75/how-to-compile-imagemagick-for-php-by-hand/



来源:https://stackoverflow.com/questions/2873306/how-to-run-imagemagik-commands-in-php

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