note 113872 added to imagick.examples-1
| From: | inoshadi at gmail dot com | Date: | Wed, 11 Dec 2013 19:53:11 +0000 |
| Subject: | note 113872 added to imagick.examples-1 | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-197909@lists.php.net to get a copy of this message | ||
on Example #3 Creating a reflection of an image
----------------------------------------------------
/* Clone the image and flip it */
$reflection = $im->clone();
$reflection->flipImage();
----------------------------------------------------
it was using the Imagick::clone function
This function has been DEPRECATED as of imagick 3.1.0 in favour of using the clone keyword.
use below code instead:
----------------------------------------------------
/* Clone the image and flip it */
$reflection = clone $im;
$reflection->flipImage();
----------------------------------------------------
http://php.net/manual/en/imagick.clone.php
----
Server IP: 72.52.91.14
Probable Submitter: 72.52.91.14
----
Manual Page -- http://php.net/manual/en/imagick.examples-1.php
Edit -- https://master.php.net/note/edit/113872
Del: integrated -- https://master.php.net/note/delete/113872/integrated
Del: useless -- https://master.php.net/note/delete/113872/useless
Del: bad code -- https://master.php.net/note/delete/113872/bad+code
Del: spam -- https://master.php.net/note/delete/113872/spam
Del: non-english -- https://master.php.net/note/delete/113872/non-english
Del: in docs -- https://master.php.net/note/delete/113872/in+docs
Del: other reasons-- https://master.php.net/note/delete/113872
Reject -- https://master.php.net/note/reject/113872
Search -- https://master.php.net/manage/user-notes.php