|  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
Avg. Score:3.0 ± 0.0
Reproduced:1 of 1 (100.0%)
Same Version:0 (0.0%)
Same OS:0 (0.0%)
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 Add Comment Developer Edit
Anyone can comment on a bug. Have a simpler test case? Does it work for you on a different platform? Let us know!
Just going to say 'Me too!'? Don't clutter the database with that please — but make sure to vote on the bug!
Your email address:
Solve the problem:
46 + 18 = ?
Subscribe to this entry?

 [2020-10-08 17:41 UTC] eric dot hamabata at gmail dot com
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();


Add a Patch

Pull Requests

Add a Pull Request


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