我必须调整通过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你们两个,似乎对我有效的问答。 –