php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #73537 undefined method Imagick::setimageinterpolatemethod()
Submitted: 2016-11-16 08:58 UTC Modified: 2016-12-18 04:22 UTC
From: d dot kreuer at reply dot de Assigned:
Status: No Feedback Package: imagick (PECL)
PHP Version: 5.6.28 OS: Ubuntu 14.04
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 — but make sure to vote on the bug!
Your email address:
MUST BE VALID
Solve the problem:
19 + 29 = ?
Subscribe to this entry?

 
 [2016-11-16 08:58 UTC] d dot kreuer at reply dot de
Description:
------------
In imagick 3.4.3RC1 the method Imagick::setImageInterpolateMethod does not exist.
In imagick 3.4.2 the method Imagick::setImageInterpolateMethod existed.

Test script:
---------------
$foo = new imagick();
$foo->setimageinterpolatemethod();

Expected result:
----------------
PHP Warning:  Imagick::setimageinterpolatemethod() expects exactly 1 parameter, 0 given in Command line code on line 1

Warning: Imagick::setimageinterpolatemethod() expects exactly 1 parameter, 0 given in Command line code on line 1

Actual result:
--------------
Fatal error: Call to undefined method Imagick::setimageinterpolatemethod() in Command line code on line 1

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2016-12-05 22:02 UTC] danack@php.net
-Status: Open +Status: Feedback
 [2016-12-05 22:02 UTC] danack@php.net
Please can you say which version of ImageMagick you are using? And how you are installing the Imagick extension.

This function is only available if the version of ImageMagick you are using has the underlying MagickSetImageInterpolateMethod function. This done in the config.m4 file:

PHP_CHECK_FUNC(MagickSetImageInterpolateMethod)

which sets HAVE_MAGICKSETIMAGEINTERPOLATEMETHOD to be true if it is available.


If that function isn't available, the Imagick::setImageInterpolateMethod method is, correctly, not defined.
 [2016-12-18 04:22 UTC] pecl-dev at lists dot php dot net
No feedback was provided. The bug is being suspended because
we assume that you are no longer experiencing the problem.
If this is not the case and you are able to provide the
information that was requested earlier, please do so and
change the status of the bug back to "Re-Opened". Thank you.
 [2017-03-14 13:46 UTC] kaplan@php.net
Should be fixed by https://github.com/mkoppanen/imagick/pull/191
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Fri Apr 19 19:01:28 2024 UTC