php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #77128 Imagick::setImageInterpolateMethod() does not exist
Submitted: 2018-11-08 21:59 UTC Modified: 2018-11-16 15:13 UTC
From: vhpvhp at msn dot com Assigned:
Status: Verified Package: imagick (PECL)
PHP Version: 7.2.12 OS: Windows
Private report: No CVE-ID: None
Have you experienced this issue?
Rate the importance of this bug to you:

 [2018-11-08 21:59 UTC] vhpvhp at msn dot com
Description:
------------
http://php.net/manual/imagick.setimageinterpolatemethod.php

Call to undefined method Imagick::setImageInterpolateMethod().

I'm sure that there is no problem with my code, the function does not exist at all.

I'm using php_imagick-3.4.3-7.2-ts-vc15-x86 and ImageMagick-7.0.7-11-vc15-x86. ImageMagick is installed by following the steps in this page: https://mlocati.github.io/articles/php-windows-imagick.html


Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2018-11-08 22:35 UTC] cmb@php.net
-Package: *Graphics related +Package: imagick
 [2018-11-16 15:13 UTC] cmb@php.net
-Status: Open +Status: Verified
 [2018-11-16 15:13 UTC] cmb@php.net
The method is only available if the macro
HAVE_MAGICKSETIMAGEINTERPOLATEMETHOD is defined[1].  While the *nix
configuration defines this macro if ImageMagick supports the
relevant function[2], the Windows configuration[3] never defines the
macro.

[1] <https://github.com/mkoppanen/imagick/blob/666a09890fe15f79f26946be8478f0a45cb3dc49/imagick.c#L2300-L2302>
[2] <https://github.com/mkoppanen/imagick/blob/666a09890fe15f79f26946be8478f0a45cb3dc49/config.m4#L58>
[3] <https://github.com/mkoppanen/imagick/blob/master/config.w32>
 
PHP Copyright © 2001-2018 The PHP Group
All rights reserved.
Last updated: Tue Dec 11 21:01:26 2018 UTC