php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Doc Bug #80206 Call to undefined method Imagick::setImageAlpha()
Submitted: 2020-10-08 17:41 UTC Modified: 2021-03-16 13:20 UTC
Votes:3
Avg. Score:4.0 ± 0.8
Reproduced:3 of 3 (100.0%)
Same Version:1 (33.3%)
Same OS:2 (66.7%)
From: eric dot hamabata at gmail dot com Assigned:
Status: Verified Package: imagick (PECL)
PHP Version: 7.4.11 OS: Ubuntu 20.04
Private report: No CVE-ID: None
View Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
If you reported this bug, you can edit this bug over here.
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: eric dot hamabata at gmail dot com
New email:
PHP Version: OS:

 

 [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

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2021-03-16 13:20 UTC] cmb@php.net
-Status: Open +Status: Verified -Type: Bug +Type: Documentation Problem
 [2021-03-16 13:20 UTC] cmb@php.net
Imagick::setImageAlpha() is only available when built against
ImageMagick 7.  This needs to be documented.
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Mon Oct 14 23:01:27 2024 UTC