For making thumbnails. Try this:
<?php
$im = new Imagick("image.jpg");
$im->thumbnailImage(100);
$im->writeImage("thumb_image.jpg");
?>
Imagick::clone
(No version information available, might be only in CVS)
Imagick::clone — Imagick オブジェクトの完全なコピーを作成する
説明
警告
この関数は、 現在のところ詳細な情報はありません。引数のリストのみが 記述されています。
Imagick オブジェクトの完全なコピーを作成します。
返り値
What the function returns, first on success, then on failure. See also the &return.success; entity
Imagick::clone
bryan
13-Aug-2008 09:58
13-Aug-2008 09:58
waage
30-Jan-2008 01:00
30-Jan-2008 01:00
This is great to use to make thumbnails
<?php
$im = new Imagick("image.jpg");
$thumb = $im->clone();
$thumb->thumbnailImage(100);
$thumb->writeImage("thumb_image.jpg");
?>
