php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #80206 Call to undefined method Imagick::setImageAlpha()
Submitted: 2020-10-08 17:41 UTC Modified: -
From: eric dot hamabata at gmail dot com Assigned:
Status: Open Package: imagick (PECL)
PHP Version: 7.4.11 OS: Ubuntu 20.04
Private report: No CVE-ID: None
Have you experienced this issue?
Rate the importance of this bug to you:

 [2020-10-08 17:41 UTC] eric dot hamabata at gmail dot com
Description:
------------
Imagick 3.4.4
ImageMagick 6.9.10-23
PHP 7.4.3

When using setImageAlpha, since setImageOpacity is deprecated, I receiving an undefined method error. Listing the methods of Imagick there really isnt a "setImageAlpha" method.

Test script:
---------------
$im = new Imagick();
$im->setImageAlpha(0.3);


Patches

Add a Patch

Pull Requests

Add a Pull Request

 
PHP Copyright © 2001-2021 The PHP Group
All rights reserved.
Last updated: Tue Jan 26 21:01:25 2021 UTC