For making thumbnails. Try this:
<?php
$im = new Imagick("image.jpg");
$im->thumbnailImage(100);
$im->writeImage("thumb_image.jpg");
?>
Imagick::clone
(PECL imagick 2.0.0)
Imagick::clone — Makes an exact copy of the Imagick object
Descrierea
Avertizare
Această funcţie nu este documentată în prezent; este disponibilă numai lista sa de argumente.
Makes an exact copy of the Imagick object.
Valorile întroarse
Nu este întoarsă nici o valoare.
Imagick::clone
bryan
13-Aug-2008 06:58
13-Aug-2008 06:58
waage
30-Jan-2008 11:00
30-Jan-2008 11: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");
?>
