php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Doc Bug #71344 Replacement for Imagick::mosaicImages()
Submitted: 2016-01-12 04:14 UTC Modified: 2016-05-17 05:58 UTC
From: sysop at otspr dot net Assigned: krakjoe (profile)
Status: Closed Package: imagick (PECL)
PHP Version: 7.0.2 OS: Ubuntu 14.04.3
Private report: No CVE-ID: None
View Add Comment Developer Edit
Anyone can comment on a bug. Have a simpler test case? Does it work for you on a different platform? Let us know!
Just going to say 'Me too!'? Don't clutter the database with that please !
Your email address:
MUST BE VALID
Solve the problem:
12 - 8 = ?
Subscribe to this entry?

 
 [2016-01-12 04:14 UTC] 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() ?


Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2016-01-12 13:02 UTC] danack@php.net
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.
 [2016-01-12 13:13 UTC] sysop at otspr dot net
Yes! I took it upon myself to flip through the code after I added this request and found it. That works perfectly and it was exactly what I was looking for.

Also, thanks for the clarification of the underlying library.

Thanks!
 [2016-05-17 05:58 UTC] krakjoe@php.net
-Status: Open +Status: Closed -Assigned To: +Assigned To: krakjoe
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Tue Apr 30 05:01:30 2024 UTC