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
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: d dot kreuer at reply dot de
New email:
PHP Version: OS:

 

 [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-2021 The PHP Group
All rights reserved.
Last updated: Wed Jul 28 15:01:23 2021 UTC