[英]php-How to fast convert or make image in imagemagic?
我使用imagemagick和php。 我創建代碼來轉換/制作圖像。 但是過程非常緩慢。 如何使它更快?
<?php
// Example 1
$pieces = $_POST["name"];
echo shell_exec("convert -background lightblue -fill blue -font arial -pointsize 25 -size 480x320 caption:\"$pieces.\" z0.png");
?>
嘗試使用phmagick類,網址為
http://www.phmagick.org/development/php-development/do-some-imagemagick
它提供易於使用的功能,提供更快的結果
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.