2012-02-23 4 views

答えて

0

imagemagicがサーバーにインストールされている場合(ほとんどのUNIXホストがそれを持っている)

<?php 
$exec = "convert /path/to/file.tiff /path/to/file.jpg"; 
exec($exec, $yaks); 
//to view any errors >> // print_r($yaks); 
?> 

または

$image = new Imagick('something.tiff'); 
$image->setImageFormat('png'); 
echo $image; 
...としてそのような単純な
関連する問題