PHP
downloads | documentation | faq | getting help | mailing lists | reporting bugs | php.net sites | links | conferences | my php.net

search for in the

Imagick::coalesceImages> <Imagick::clipPathImage
Last updated: Sun, 25 Nov 2007

view this page in

Imagick::clone

(No version information available, might be only in CVS)

Imagick::clone — Makes an exact copy of the Imagick object

설명

Imagick Imagick::clone ( void )
Warning

This function is currently not documented; only the argument list is available.

Warning

This function is EXPERIMENTAL. The behaviour of this function, the name of this function, and anything else documented about this function may change without notice in a future release of PHP. Use this function at your own risk.

Makes an exact copy of the Imagick object.

매개변수

반환값

What the function returns, first on success, then on failure. See also the &return.success; entity



add a note add a note User Contributed Notes
Imagick::clone
bryan
13-Aug-2008 11:58
For making thumbnails. Try this:

<?php

$im
= new Imagick("image.jpg");
$im->thumbnailImage(100);
$im->writeImage("thumb_image.jpg");

?>
waage
30-Jan-2008 03: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");

?>

Imagick::coalesceImages> <Imagick::clipPathImage
Last updated: Sun, 25 Nov 2007
 
 
show source | credits | stats | sitemap | contact | advertising | mirror sites