php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Doc Bug #74160 Imagick Class
Submitted: 2017-02-24 01:53 UTC Modified: 2017-02-27 04:04 UTC
Votes:1
Avg. Score:5.0 ± 0.0
Reproduced:1 of 1 (100.0%)
Same Version:0 (0.0%)
Same OS:0 (0.0%)
From: renzhenguo at moxiu dot ne Assigned:
Status: Open Package: Documentation problem
PHP Version: 7.1.2 OS: gentoo
Private report: No CVE-ID: None
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: renzhenguo at moxiu dot ne
New email:
PHP Version: OS:

 

 [2017-02-24 01:53 UTC] renzhenguo at moxiu dot ne
Description:
------------
---
From manual page: http://www.php.net/imagick.setimageopacity
---
Imagick 类中提供的一些方法, 所依赖的ImageMagick version 在文档中标注有错误。
例如: Imagick::setImageOpacity 文档标注为 “ImageMagick version 6.3.1 or newer”
实际上应该是 “ImageMagick version 6.3.1 - 6.9.9”

Test script:
---------------
none

Expected result:
----------------
none

Actual result:
--------------
none

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2017-02-26 13:38 UTC] cmb@php.net
-Summary: Imagick Class +Summary: [ZH] Imagick Class -Package: Documentation problem +Package: Translation problem
 [2017-02-27 04:04 UTC] jhdxr@php.net
-Summary: [ZH] Imagick Class +Summary: Imagick Class -Package: Translation problem +Package: Documentation problem
 [2017-02-27 04:04 UTC] jhdxr@php.net
hi, cmb,
I don't think it's a translation problem. The bug report says the ImageMagick version for [Imagick::setImageOpacity](http://www.php.net/imagick.setimageopacity) should be _6.3.1 - 6.9.9_ instead of _6.3.1 or newer_, which is written in the EN documentation.


I checked the download page of ImageMagick (https://www.imagemagick.org/script/download.php), the latest version is 7.0.5. so I guess setImageOpacity cannot work with ImageMagick 7.0+?
 [2017-05-25 16:56 UTC] danack@php.net
"so I guess setImageOpacity cannot work with ImageMagick 7.0+?" 

That is correct.

Opacity had been deprecated for a while, and now everything transparency is alpha instead.
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Thu Mar 28 09:01:26 2024 UTC