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
 [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

Pull Requests

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: Sat Oct 05 03:01:28 2024 UTC