0
我用Imagick來幾張圖片合併成一個,這裏是代碼:Imagick組合圖像
foreach($this->images as $image) {
$stack->addImage($image['imagick']);
}
$montage = $stack->montageImage(new ImagickDraw(), $placing, $this->resultWidth."x".$this->resultHeight, 0, 0);
$montage->writeImage($result);
我得到這個http://prntscr.com/b54uwe
我試圖連接2個圖像1和2,還需要我幫助,如何將圖像與它們之間的空白相結合?