Clone method deprecated?

IMagick is a native PHP extension to create and modify images using the ImageMagick API. ImageMagick Studio LLC did not write nor does it maintain the IMagick extension, however, IMagick users are welcome to discuss the extension here.
Locked
stroker
Posts: 16
Joined: 2008-04-07T11:24:55-07:00

Clone method deprecated?

Post by stroker »

Code: Select all

$im2 = $im->clone();
"Imagick::clone method is deprecated and it's use should be avoided"

What should I use instead?

cyklop
Posts: 7
Joined: 2010-06-10T22:20:58-07:00
Authentication code: 8675308

Re: Clone method deprecated?

Post by cyklop »

Same Problem here, did you found something?

User avatar
anthony
Posts: 8884
Joined: 2004-05-31T19:27:03-07:00
Authentication code: 8675308
Location: Brisbane, Australia

Re: Clone method deprecated?

Post by anthony »

The question is why is it depreciated?

First I even heard of it being depreciated anywhere. Though perhaps it is a language specific thing!
Anthony Thyssen -- Webmaster for ImageMagick Example Pages
https://imagemagick.org/Usage/

Locked