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
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If this is not your bug, you can add a comment by following this link.
If this is your bug, but you forgot your password, you can retrieve your password here.
Password:
Status:
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-2024 The PHP Group
All rights reserved.
Last updated: Tue Apr 16 11:01:29 2024 UTC