Doc #71344 [Opn]: Replacement for Imagick::mosaicImages()
| From: | danack@php.net | Date: | Tue, 12 Jan 2016 13:02:13 +0000 |
| Subject: | Doc #71344 [Opn]: Replacement for Imagick::mosaicImages() | ||
| References: | 1 | Groups: | php.doc.bugs |
| Request: | Send a blank email to doc-bugs+get-13091@lists.php.net to get a copy of this message | ||
Edit report at https://bugs.php.net/bug.php?id=71344&edit=1
ID: 71344
Updated by: danack@php.net
Reported by: sysop at otspr dot net
Summary: Replacement for Imagick::mosaicImages()
Status: Open
Type: Documentation Problem
Package: imagick
Operating System: Ubuntu 14.04.3
PHP Version: 7.0.2
Block user comment: N
Private report: N
New Comment:
I believe it should be:
$image->mergeImageLayers(\Imagick::LAYERMETHOD_MOSAIC);
I haven't actually tested this - please let me know if it works.
"Since Imagick::mosaicImages() has been deprecated"
fyi, it's the underlying library that deprecates functions....so you might want to refer to the
upstream library http://nextgen.imagemagick.org/script/magick-wand.php
Though in this case it probably wouldn't of helped, as I can't see a list of replacement
methods for deprecated methods.
Previous Comments:
------------------------------------------------------------------------
[2016-01-12 04:14:19] sysop at otspr dot net
Description:
------------
Since Imagick::mosaicImages() has been deprecated what can we use instead? Would this help? http://php.net/manual/en/imagick.flattenimages.php.
If so, what would be the replacement for mosaicImages() ?
------------------------------------------------------------------------
--
Edit this bug report at https://bugs.php.net/bug.php?id=71344&edit=1