我必須調整通過Imagesmagick一個圖像,並具有在一瞬間創建2個較小的版本,它是像這樣做:結合2 imagesmagick調整大小命令
<?php
$command = $IMPath.'convert -limit memory 32 input.jpg -resize 500x500 biggeroutput.jpg';
exec($command, $output);
$command = $IMPath.'convert -limit memory 32 input.jpg -resize 90 smalleroutput.jpg';
exec($command, $output);
?>
有沒有辦法來組合這只是一位高管?無需開始轉換2次?
Downvoted在我的答案無理downvote。 – CAFxX
是不是我downvote -_- –
我upvoted你們兩個,似乎對我有效的問答。 –