2013-03-29 3 views

답변

1

vendor/francodacosta/phmagick/docs/index.html에서 phMagick에 대한 실제 문서를 찾아보십시오. 여기에 저에게 맞는 예제 중 하나가 있습니다 ...

$phMagick = new \phMagick\Core\Runner(); 
$action = new \phMagick\Action\Convert($this->originalFile, $this->newFile); 

// optimize the image 
$action->optimize(); 

// sets image quality 
$action->quality(70); 

// execute the convert action 
$phMagick->run($action); 
관련 문제